Sha256: 2750f51f92317abbc8ad2fe590236108fca62a2de756865d702aa26e3744f1b4

Contents?: true

Size: 382 Bytes

Versions: 9

Compression:

Stored size: 382 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

9 entries across 9 versions & 1 rubygems

Version Path
shopify_app-20.1.1 lib/shopify_app/session/null_user_session_store.rb
shopify_app-20.1.0 lib/shopify_app/session/null_user_session_store.rb
shopify_app-20.0.2 lib/shopify_app/session/null_user_session_store.rb
shopify_app-20.0.1 lib/shopify_app/session/null_user_session_store.rb
shopify_app-20.0.0 lib/shopify_app/session/null_user_session_store.rb
shopify_app-19.1.0 lib/shopify_app/session/null_user_session_store.rb
shopify_app-19.0.2 lib/shopify_app/session/null_user_session_store.rb
shopify_app-19.0.1 lib/shopify_app/session/null_user_session_store.rb
shopify_app-19.0.0 lib/shopify_app/session/null_user_session_store.rb