Class: AuthorizationsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/authorizations_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



13
14
15
# File 'app/controllers/authorizations_controller.rb', line 13

def create
  respond *authorize_endpoint(:allow_approval).call(request.env)
end

#newObject



9
10
11
# File 'app/controllers/authorizations_controller.rb', line 9

def new
  respond *authorize_endpoint.call(request.env)
end