Class: TwilioResource::Call
- Defined in:
- lib/twilio_resource/call.rb
Overview
Encapsulates a Twilio call resource. Documentation:
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
-
#call_segment_sid ⇒ Object
old end-point.
-
#called ⇒ Object
old end-point.
-
#caller ⇒ Object
old end-point.
Methods inherited from Base
collection_path, custom_method_collection_url, element_name, element_path, query_string, #save
Instance Method Details
#call_segment_sid ⇒ Object
old end-point
27 28 29 |
# File 'lib/twilio_resource/call.rb', line 27 def call_segment_sid self.parent_call_sid end |
#called ⇒ Object
old end-point
17 18 19 |
# File 'lib/twilio_resource/call.rb', line 17 def called self.to end |
#caller ⇒ Object
old end-point
22 23 24 |
# File 'lib/twilio_resource/call.rb', line 22 def caller self.from end |