class Adhearsion::CallController::Dial::DialStatus
Attributes
calls[RW]
The collection of calls created during the dial operation
joins[RW]
A collection of status objects indexed by call. Provides status on the joins such as duration
Public Class Methods
new()
click to toggle source
@private
# File lib/adhearsion/call_controller/dial.rb, line 458 def initialize @result = nil @joins = {} end
Public Instance Methods
answer!()
click to toggle source
@private
# File lib/adhearsion/call_controller/dial.rb, line 472 def answer! @result = :answer end
error!()
click to toggle source
@private
# File lib/adhearsion/call_controller/dial.rb, line 482 def error! @result ||= :error end
result()
click to toggle source
The result of the dial operation.
@return [Symbol] :no_answer, :answer, :timeout, :error
# File lib/adhearsion/call_controller/dial.rb, line 467 def result @result || :no_answer end
timeout!()
click to toggle source
@private
# File lib/adhearsion/call_controller/dial.rb, line 477 def timeout! @result ||= :timeout end
unconfirmed!()
click to toggle source
@private
# File lib/adhearsion/call_controller/dial.rb, line 487 def unconfirmed! @result ||= :unconfirmed end