Class: Api::ApiController

Inherits:
ActionController::API
  • Object
show all
Includes:
Stitches::CallingServiceName, Stitches::Deprecation
Defined in:
lib/stitches/generator_files/app/controllers/api/api_controller.rb

Direct Known Subclasses

V1::PingsController, V2::PingsController

Constant Summary

Constants included from Stitches::CallingServiceName

Stitches::CallingServiceName::HEADER

Instance Method Summary collapse

Methods included from Stitches::Deprecation

#deprecated, #gone!

Methods included from Stitches::CallingServiceName

#calling_service_name

Instance Method Details

#current_userObject



20
21
22
# File 'lib/stitches/generator_files/app/controllers/api/api_controller.rb', line 20

def current_user
  api_client
end