Class: Knock::AuthTokenController

Inherits:
ApplicationController show all
Defined in:
app/controllers/knock/auth_token_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



7
8
9
# File 'app/controllers/knock/auth_token_controller.rb', line 7

def create
  render json: { jwt: auth_token.token }, status: :created
end