Class: ApiGuard::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/api_guard/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#authenticate_resourceObject



7
8
9
# File 'app/controllers/api_guard/application_controller.rb', line 7

def authenticate_resource
  public_send("authenticate_and_set_#{resource_name}")
end