Class: Apicasso::ApplicationController
- Inherits:
-
ActionController::API
- Object
- ActionController::API
- Apicasso::ApplicationController
- Includes:
- ActionController::HttpAuthentication::Token::ControllerMethods
- Defined in:
- app/controllers/apicasso/application_controller.rb
Overview
Controller to extract common API features, such as authentication and authorization. Used to be inherited by non-CRUD controllers when your application needs to create custom actions.
Direct Known Subclasses
Instance Method Summary collapse
-
#current_ability ⇒ Object
Sets the authorization scope for the current API key, it’s a getter to make scoping easier.