Class: ShopifyApp::InMemoryShopSessionStore
- Inherits:
-
InMemorySessionStore
- Object
- InMemorySessionStore
- ShopifyApp::InMemoryShopSessionStore
- Defined in:
- lib/shopify_app/session/in_memory_shop_session_store.rb
Class Method Summary collapse
Methods inherited from InMemorySessionStore
Class Method Details
.retrieve_by_shopify_domain(shopify_domain) ⇒ Object
12 13 14 |
# File 'lib/shopify_app/session/in_memory_shop_session_store.rb', line 12 def retrieve_by_shopify_domain(shopify_domain) repo[shopify_domain] end |
.store(session, *args) ⇒ Object
6 7 8 9 10 |
# File 'lib/shopify_app/session/in_memory_shop_session_store.rb', line 6 def store(session, *args) id = super repo[session.shop] = session id end |