Class: Railspress::Api::V1::BaseController

Inherits:
ActionController::API
  • Object
show all
Includes:
ActionController::HttpAuthentication::Token::ControllerMethods
Defined in:
app/controllers/railspress/api/v1/base_controller.rb

Instance Attribute Summary collapse

Instance Attribute Details

#current_api_keyObject (readonly)

Returns the value of attribute current_api_key.



14
15
16
# File 'app/controllers/railspress/api/v1/base_controller.rb', line 14

def current_api_key
  @current_api_key
end