Class: Spree::Api::BaseController

Inherits:
ActionController::Base
  • Object
show all
Includes:
ActiveStorage::SetCurrent, CanCan::ControllerAdditions, Core::ControllerHelpers::Pricing, Core::ControllerHelpers::Store, Core::ControllerHelpers::StrongParameters
Defined in:
app/controllers/spree/api/base_controller.rb

Instance Attribute Summary collapse

Instance Attribute Details

#current_api_userObject

Returns the value of attribute current_api_user.



21
22
23
# File 'app/controllers/spree/api/base_controller.rb', line 21

def current_api_user
  @current_api_user
end