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
215
216
217
|
# File 'lib/punchblock/component/record.rb', line 215
def duration
read_attr :duration, :to_i
end
|
#inspect_attributes ⇒ Object
223
224
225
|
# File 'lib/punchblock/component/record.rb', line 223
def inspect_attributes [:uri, :duration, :size] + super
end
|
219
220
221
|
# File 'lib/punchblock/component/record.rb', line 219
def size
read_attr :size, :to_i
end
|
207
208
209
|
# File 'lib/punchblock/component/record.rb', line 207
def uri
read_attr :uri
end
|
#uri=(other) ⇒ Object
211
212
213
|
# File 'lib/punchblock/component/record.rb', line 211
def uri=(other)
write_attr :uri, other
end
|