Module: ShopifyApp::SessionStorage

Extended by:
ActiveSupport::Concern
Included in:
Shop
Defined in:
lib/shopify_app/session/session_storage.rb

Instance Method Summary collapse

Instance Method Details

#with_shopify_session(&block) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/shopify_app/session/session_storage.rb', line 11

def with_shopify_session(&block)
  ShopifyAPI::Session.temp(
    domain: shopify_domain,
    token: shopify_token,
    api_version: api_version,
    &block
  )
end