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
226
227
228
|
# File 'lib/punchblock/component/record.rb', line 226
def duration
read_attr :duration, :to_i
end
|
#inspect_attributes ⇒ Object
234
235
236
|
# File 'lib/punchblock/component/record.rb', line 234
def inspect_attributes [:uri, :duration, :size] + super
end
|
230
231
232
|
# File 'lib/punchblock/component/record.rb', line 230
def size
read_attr :size, :to_i
end
|
218
219
220
|
# File 'lib/punchblock/component/record.rb', line 218
def uri
read_attr :uri
end
|
#uri=(other) ⇒ Object
222
223
224
|
# File 'lib/punchblock/component/record.rb', line 222
def uri=(other)
write_attr :uri, other
end
|