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



414
415
416
# File 'lib/adhearsion/call_controller/dial.rb', line 414

def calls
  @calls
end

#joinsObject

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



417
418
419
# File 'lib/adhearsion/call_controller/dial.rb', line 417

def joins
  @joins
end

Instance Method Details

#resultSymbol

The result of the dial operation.

Returns:

  • (Symbol)

    :no_answer, :answer, :timeout, :error



429
430
431
# File 'lib/adhearsion/call_controller/dial.rb', line 429

def result
  @result || :no_answer
end