Module: ShopifyApp::UserSessionStorageWithScopes

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

Instance Method Summary collapse

Methods included from SessionStorage

#with_shopify_session

Instance Method Details

#access_scopesObject



65
66
67
68
69
# File 'lib/shopify_app/session/user_session_storage_with_scopes.rb', line 65

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



59
60
61
62
63
# File 'lib/shopify_app/session/user_session_storage_with_scopes.rb', line 59

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