Class: Knock::AuthTokenController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Knock::AuthTokenController
- Defined in:
- app/controllers/knock/auth_token_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
7 8 9 |
# File 'app/controllers/knock/auth_token_controller.rb', line 7 def create render json: { jwt: auth_token.token }, status: :created end |