Sha256: 3a0f8ee188050435c6cd23000e6e9866ec55c97d660bb70c225077d876488c71
Contents?: true
Size: 329 Bytes
Versions: 17
Compression:
Stored size: 329 Bytes
Contents
module DiscoApp::Concerns::SynchroniseResourcesJob extend ActiveSupport::Concern def perform(_shop, class_name, params) klass = class_name.constantize klass::SHOPIFY_API_CLASS.find(:all, params: params).map do |shopify_resource| klass.synchronise(@shop, shopify_resource.serializable_hash) end end end
Version data entries
17 entries across 17 versions & 1 rubygems