Class: Adhearsion::CallController::Dial::DialStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#callsObject

The collection of calls created during the dial operation



452
453
454
# File 'lib/adhearsion/call_controller/dial.rb', line 452

def calls
  @calls
end

#joinsObject

A collection of status objects indexed by call. Provides status on the joins such as duration



455
456
457
# File 'lib/adhearsion/call_controller/dial.rb', line 455

def joins
  @joins
end

Instance Method Details

#resultSymbol

The result of the dial operation.

Returns:

  • (Symbol)

    :no_answer, :answer, :timeout, :error



467
468
469
# File 'lib/adhearsion/call_controller/dial.rb', line 467

def result
  @result || :no_answer
end