Class: Punchblock::Component::Record::Recording
- Inherits:
-
Event
show all
- Defined in:
- lib/punchblock/component/record.rb
Constant Summary
Constants inherited
from RayoNode
RayoNode::InvalidNodeError
Instance Attribute Summary
Attributes inherited from RayoNode
#client, #component_id, #connection, #domain, #original_component, #target_call_id, #target_mixer_name
Instance Method Summary
collapse
Methods inherited from Event
new
Methods inherited from RayoNode
class_from_registration, #eql?, import, #inspect, new, register, #source
Instance Method Details
232
233
234
|
# File 'lib/punchblock/component/record.rb', line 232
def duration
read_attr :duration, :to_i
end
|
#inspect_attributes ⇒ Object
240
241
242
|
# File 'lib/punchblock/component/record.rb', line 240
def inspect_attributes [:uri, :duration, :size] + super
end
|
236
237
238
|
# File 'lib/punchblock/component/record.rb', line 236
def size
read_attr :size, :to_i
end
|
224
225
226
|
# File 'lib/punchblock/component/record.rb', line 224
def uri
read_attr :uri
end
|
#uri=(other) ⇒ Object
228
229
230
|
# File 'lib/punchblock/component/record.rb', line 228
def uri=(other)
write_attr :uri, other
end
|