Sha256: aba338a6eec8c709338bc4e1e6d6d87054a3078b583e432170aba677be78ab74
Contents?: true
Size: 409 Bytes
Versions: 6
Compression:
Stored size: 409 Bytes
Contents
module SpiffyStoresApp class ScripttagsManagerJob < ActiveJob::Base queue_as do SpiffyStoresApp.configuration.scripttags_manager_queue_name end def perform(shop_domain:, shop_token:, scripttags:) SpiffyStoresAPI::Session.temp(shop_domain, shop_token) do manager = ScripttagsManager.new(scripttags, shop_domain) manager.create_scripttags end end end end
Version data entries
6 entries across 6 versions & 1 rubygems