Class: RrxApi::Controller

Inherits:
ActionController::API
  • Object
show all
Includes:
AbstractController::Helpers, Authenticatable
Defined in:
app/controllers/rrx_api/controller.rb

Direct Known Subclasses

HealthController

Constant Summary

Constants included from Authenticatable

Authenticatable::AUTH_HEADER, Authenticatable::BEARER_TOKEN

Instance Method Summary collapse

Methods included from Authenticatable

#current_user

Instance Method Details

#loggerRrxLogging::Logger

Returns:

  • (RrxLogging::Logger)


11
12
13
# File 'app/controllers/rrx_api/controller.rb', line 11

def logger
  RrxLogging.current || Rails.logger
end