Sha256: eb42878a006e0058a338dcb7e2af2c522ae020933d519652ade0001fe093a9bd
Contents?: true
Size: 330 Bytes
Versions: 4
Compression:
Stored size: 330 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
4 entries across 4 versions & 1 rubygems