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



440
441
442
# File 'lib/adhearsion/call_controller/dial.rb', line 440

def calls
  @calls
end

#joinsObject

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



443
444
445
# File 'lib/adhearsion/call_controller/dial.rb', line 443

def joins
  @joins
end

Instance Method Details

#resultSymbol

The result of the dial operation.

Returns:

  • (Symbol)

    :no_answer, :answer, :timeout, :error



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

def result
  @result || :no_answer
end