Sha256: dd75cf2f86db63743722923fe034ca2f72eac4c7a4e4d820725c72dc4598439f

Contents?: true

Size: 381 Bytes

Versions: 47

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true
module ShopifyApp
  class NullUserSessionStore
    class << self
      def retrieve(_)
        nil
      end

      def store(_, _)
        raise SessionRepository::ConfigurationError, 'user_storage is not configured'
      end

      def retrieve_by_shopify_user_id(_)
        nil
      end

      def blank?
        true
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

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