Sha256: 954b73c66d4b3c61dab56779d4607d894a5546afb6337b7b7d4dc41d8492f22e

Contents?: true

Size: 277 Bytes

Versions: 7

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

module SolidusSubscriptions
  module Api
    module V1
      class BaseController < ::Spree::Api::BaseController
        def subscription_guest_token
          request.headers['X-Spree-Subscription-Token']
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 app/controllers/solidus_subscriptions/api/v1/base_controller.rb
solidus_subscriptions-2.0.1 app/controllers/solidus_subscriptions/api/v1/base_controller.rb
solidus_subscriptions-2.0.0 app/controllers/solidus_subscriptions/api/v1/base_controller.rb
solidus_subscriptions-1.1.0 app/controllers/solidus_subscriptions/api/v1/base_controller.rb
solidus_subscriptions-1.0.1 app/controllers/solidus_subscriptions/api/v1/base_controller.rb
solidus_subscriptions-1.0.0 app/controllers/solidus_subscriptions/api/v1/base_controller.rb
solidus_subscriptions-1.0.0.rc1 app/controllers/solidus_subscriptions/api/v1/base_controller.rb