Class: TwilioResource::Call

Inherits:
Base
  • Object
show all
Defined in:
lib/twilio_resource/call.rb

Overview

Constant Summary collapse

NOT_DIALED =
"queued"
IN_PROGRESS =
"in-progress"
COMPLETE =
"completed"
RINGING =
"ringing"
FAILED =
"failed"
BUSY =
"busy"
NO_ANSWER =
"no-answer"

Instance Method Summary collapse

Methods inherited from Base

collection_path, custom_method_collection_url, element_name, element_path, query_string, #save

Instance Method Details

#call_segment_sidObject

old end-point



27
28
29
# File 'lib/twilio_resource/call.rb', line 27

def call_segment_sid
  self.parent_call_sid
end

#calledObject

old end-point



17
18
19
# File 'lib/twilio_resource/call.rb', line 17

def called
  self.to
end

#callerObject

old end-point



22
23
24
# File 'lib/twilio_resource/call.rb', line 22

def caller
  self.from
end