noesya/osuny

View on GitHub
app/jobs/communication/website/direct_object/sync_with_git_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class Communication::Website::DirectObject::SyncWithGitJob < Communication::Website::BaseJob
  def execute
    direct_object = options.fetch(:direct_object)
    direct_object.sync_with_git_safely if direct_object.present?
  end
end