Class: Punchblock::Component::Record::Recording
- Inherits:
-
Event
- Object
- Niceogiri::XML::Node
- RayoNode
- Event
- Punchblock::Component::Record::Recording
show all
- Defined in:
- lib/punchblock/component/record.rb
Instance Attribute Summary
Attributes inherited from RayoNode
#call_id, #client, #component_id, #connection, #original_component
Instance Method Summary
collapse
Methods inherited from RayoNode
class_from_registration, #eql?, import, #inspect, new, register, #source
Instance Method Details
#duration ⇒ Object
204
205
206
|
# File 'lib/punchblock/component/record.rb', line 204
def duration
read_attr :duration, :to_i
end
|
#inspect_attributes ⇒ Object
212
213
214
|
# File 'lib/punchblock/component/record.rb', line 212
def inspect_attributes [:uri, :duration, :size] + super
end
|
#size ⇒ Object
208
209
210
|
# File 'lib/punchblock/component/record.rb', line 208
def size
read_attr :size, :to_i
end
|
#uri ⇒ Object
200
201
202
|
# File 'lib/punchblock/component/record.rb', line 200
def uri
read_attr :uri
end
|