Module: ShopifyApp::SessionStorage

Extended by:
ActiveSupport::Concern
Included in:
Shop, User
Defined in:
lib/shopify_app/session/session_storage.rb,
lib/shopify_app/session/storage_strategies/shop_storage_strategy.rb,
lib/shopify_app/session/storage_strategies/user_storage_strategy.rb

Defined Under Namespace

Modules: ShopStorageStrategy, UserStorageStrategy

Instance Method Summary collapse

Instance Method Details

#with_shopify_session(&block) ⇒ Object



20
21
22
23
24
25
26
27
# File 'lib/shopify_app/session/session_storage.rb', line 20

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