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



52
53
54
55
56
# File 'lib/shopify_app/session/user_session_storage_with_scopes.rb', line 52

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



46
47
48
49
50
# File 'lib/shopify_app/session/user_session_storage_with_scopes.rb', line 46

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