Sha256: 3e843492e2ee7eb81127cc6cc34e26689dc6bcef806b1cd9ff2af221576eeb9c

Contents?: true

Size: 344 Bytes

Versions: 20

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true
module ShopifyApp
  class InMemoryShopSessionStore < InMemorySessionStore
    class << self
      def store(session, *args)
        id = super
        repo[session.domain] = session
        id
      end

      def retrieve_by_shopify_domain(shopify_domain)
        repo[shopify_domain]
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
ruby_shopify_app-1.3.3 lib/ruby_shopify_app/session/in_memory_shop_session_store.rb
ruby_shopify_app-1.3.2 lib/ruby_shopify_app/session/in_memory_shop_session_store.rb
ruby_shopify_app-1.3.1 lib/ruby_shopify_app/session/in_memory_shop_session_store.rb
ruby_shopify_app-1.3.0 lib/ruby_shopify_app/session/in_memory_shop_session_store.rb
ruby_shopify_app-1.2.0 lib/ruby_shopify_app/session/in_memory_shop_session_store.rb
ruby_shopify_app-1.1.0 lib/ruby_shopify_app/session/in_memory_shop_session_store.rb
ruby_shopify_app-1.0.0 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.1.3 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.1.2 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.1.1 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.1.0 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.0.4 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.0.3 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.0.2 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.0.1 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-18.0.0 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-17.2.1 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-17.2.0 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-17.1.1 lib/shopify_app/session/in_memory_shop_session_store.rb
shopify_app-17.1.0 lib/shopify_app/session/in_memory_shop_session_store.rb