Class: ShopifyApp::InMemoryUserSessionStore
- Inherits:
-
InMemorySessionStore
- Object
- InMemorySessionStore
- ShopifyApp::InMemoryUserSessionStore
- Defined in:
- lib/shopify_app/session/in_memory_user_session_store.rb
Class Method Summary collapse
Methods inherited from InMemorySessionStore
Class Method Details
.retrieve_by_shopify_user_id(user_id) ⇒ Object
12 13 14 |
# File 'lib/shopify_app/session/in_memory_user_session_store.rb', line 12 def retrieve_by_shopify_user_id(user_id) repo[user_id] end |
.store(session, user) ⇒ Object
6 7 8 9 10 |
# File 'lib/shopify_app/session/in_memory_user_session_store.rb', line 6 def store(session, user) id = super repo[user.id.to_s] = session id end |