Class: Adhearsion::CallController::Input::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/adhearsion/call_controller/input.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

Returns the value of attribute menu

Returns:

  • (Object)

    the current value of menu



7
8
9
# File 'lib/adhearsion/call_controller/input.rb', line 7

def menu
  @menu
end

#responseObject

Returns the value of attribute response

Returns:

  • (Object)

    the current value of response



7
8
9
# File 'lib/adhearsion/call_controller/input.rb', line 7

def response
  @response
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



7
8
9
# File 'lib/adhearsion/call_controller/input.rb', line 7

def status
  @status
end

Instance Method Details

#inspectObject



12
13
14
# File 'lib/adhearsion/call_controller/input.rb', line 12

def inspect
  "#<Adhearsion::CallController::Input::Result response=#{response.inspect}, status=#{status.inspect}>"
end

#to_sObject



8
9
10
# File 'lib/adhearsion/call_controller/input.rb', line 8

def to_s
  response
end