Class: Api::ApiController

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

Direct Known Subclasses

V1::PingsController, V2::PingsController

Instance Method Summary collapse

Methods included from Stitches::Deprecation

#deprecated, #gone!

Instance Method Details

#current_userObject



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

def current_user
  api_client
end