Module: ShopifyApp::ShopSessionStorageWithScopes

Extended by:
ActiveSupport::Concern
Includes:
SessionStorage
Included in:
Shop
Defined in:
lib/shopify_app/session/shop_session_storage_with_scopes.rb

Instance Method Summary collapse

Methods included from SessionStorage

#with_shopify_session

Instance Method Details

#access_scopesObject



55
56
57
58
59
# File 'lib/shopify_app/session/shop_session_storage_with_scopes.rb', line 55

def access_scopes
  super
rescue NotImplementedError, NoMethodError
  raise NotImplementedError, "#access_scopes= must be defined to hook into stored access scopes"
end

#access_scopes=(scopes) ⇒ Object



49
50
51
52
53
# File 'lib/shopify_app/session/shop_session_storage_with_scopes.rb', line 49

def access_scopes=(scopes)
  super(scopes)
rescue NotImplementedError, NoMethodError
  raise NotImplementedError, "#access_scopes= must be defined to handle storing access scopes: #{scopes}"
end