Class: AuthorizeMachine2Machine

Inherits:
Object
  • Object
show all
Includes:
SimpleCommand
Defined in:
app/commands/authorize_machine_2_machine.rb

Instance Method Summary collapse

Constructor Details

#initialize(headers = {}) ⇒ AuthorizeMachine2Machine

Returns a new instance of AuthorizeMachine2Machine.



4
5
6
# File 'app/commands/authorize_machine_2_machine.rb', line 4

def initialize(headers = {})
    @headers = headers
end

Instance Method Details

#callObject



8
9
10
# File 'app/commands/authorize_machine_2_machine.rb', line 8

def call
    api_user
end