Class: MessageBird::Voice::CallLegRecording
- Defined in:
- lib/messagebird/voice/call_leg_recording.rb
Instance Attribute Summary collapse
-
#_links ⇒ Object
further processed attributes for convenience.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#duration ⇒ Object
default attributes from the API.
-
#format ⇒ Object
default attributes from the API.
-
#id ⇒ Object
default attributes from the API.
-
#leg_id ⇒ Object
default attributes from the API.
-
#status ⇒ Object
default attributes from the API.
-
#type ⇒ Object
default attributes from the API.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#uri ⇒ Object
further processed attributes for convenience.
Instance Method Summary collapse
-
#handle_links(links_object) ⇒ Object
Grab the URI to the downloadable file and provide it as a direct attribute.
Methods inherited from Base
Methods inherited from Base
#initialize, #map_hash_elements_to_self, #value_to_time
Constructor Details
This class inherits a constructor from MessageBird::Voice::Base
Instance Attribute Details
#_links ⇒ Object
further processed attributes for convenience
13 14 15 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 13 def _links @_links end |
#created_at ⇒ Object
Returns the value of attribute created_at.
10 11 12 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 10 def created_at @created_at end |
#duration ⇒ Object
default attributes from the API
9 10 11 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 9 def duration @duration end |
#format ⇒ Object
default attributes from the API
9 10 11 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 9 def format @format end |
#id ⇒ Object
default attributes from the API
9 10 11 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 9 def id @id end |
#leg_id ⇒ Object
default attributes from the API
9 10 11 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 9 def leg_id @leg_id end |
#status ⇒ Object
default attributes from the API
9 10 11 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 9 def status @status end |
#type ⇒ Object
default attributes from the API
9 10 11 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 9 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
10 11 12 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 10 def updated_at @updated_at end |
#uri ⇒ Object
further processed attributes for convenience
13 14 15 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 13 def uri @uri end |
Instance Method Details
#handle_links(links_object) ⇒ Object
Grab the URI to the downloadable file and provide it as a direct attribute
16 17 18 |
# File 'lib/messagebird/voice/call_leg_recording.rb', line 16 def handle_links(links_object) @uri = links_object['file'] end |