Class: Spree::Api::BaseController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Spree::Api::BaseController
- Includes:
- ActiveStorage::SetCurrent, CanCan::ControllerAdditions, Core::ControllerHelpers::Pricing, Core::ControllerHelpers::Store, Core::ControllerHelpers::StrongParameters
- Defined in:
- app/controllers/spree/api/base_controller.rb
Direct Known Subclasses
AddressBooksController, AddressesController, CheckoutsController, ClassificationsController, ConfigController, CountriesController, CouponCodesController, CreditCardsController, CustomerReturnsController, ImagesController, InventoryUnitsController, LineItemsController, OptionTypesController, OptionValuesController, OrdersController, PaymentsController, ProductPropertiesController, ProductsController, PromotionsController, PropertiesController, ReturnAuthorizationsController, ShipmentsController, StatesController, StockItemsController, StockLocationsController, StockMovementsController, StoreCreditEventsController, StoresController, TaxonomiesController, TaxonsController, UsersController, VariantsController, ZonesController
Instance Attribute Summary collapse
-
#current_api_user ⇒ Object
Returns the value of attribute current_api_user.
Instance Attribute Details
#current_api_user ⇒ Object
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 |