Class: Shopify::AfterAuthenticateJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/generators/shopify_app/add_after_authenticate_job/templates/after_authenticate_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(shop_domain:) ⇒ Object



5
6
7
8
9
10
# File 'lib/generators/shopify_app/add_after_authenticate_job/templates/after_authenticate_job.rb', line 5

def perform(shop_domain:)
  shop = Shop.find_by(shopify_domain: shop_domain)

  shop.with_shopify_session do |session|
  end
end