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



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

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

  shop.with_shopify_session do
  end
end