Class: Cased::AuthorizationsController

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

Instance Method Summary collapse

Instance Method Details

#createObject



5
6
7
# File 'app/controllers/cased/authorizations_controller.rb', line 5

def create
  self.cased_authorization = params[:token]
end

#destroyObject



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

def destroy
  self.cased_authorization = nil
end