Sha256: 40d031eca5932433546d39f34955760eea2089a450ab15de440daf309b73ee71

Contents?: true

Size: 263 Bytes

Versions: 3

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true

require 'active_job'

module WCC::Contentful
  class DelayedSyncJob < ActiveJob::Base
    queue_as :default

    def perform(*args)
      sync_options = args.first || {}
      WCC::Contentful.sync!(**sync_options)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wcc-contentful-0.2.2 app/jobs/wcc/contentful/delayed_sync_job.rb
wcc-contentful-0.2.1 app/jobs/wcc/contentful/delayed_sync_job.rb
wcc-contentful-0.2.0 app/jobs/wcc/contentful/delayed_sync_job.rb