Method: ShopifyApp::InMemorySessionStore.repo

Defined in:
lib/shopify_app/session/in_memory_session_store.rb

.repoObject



21
22
23
24
25
26
27
# File 'lib/shopify_app/session/in_memory_session_store.rb', line 21

def self.repo
  if Rails.env.production?
    raise ::ShopifyApp::EnvironmentError, "Cannot use InMemorySessionStore in a Production environment. \
      Please initialize ShopifyApp with a model that can store and retrieve sessions"
  end
  @@repo ||= {}
end