Class: Punchblock::Event::Offer
- Inherits:
-
Punchblock::Event
show all
- Includes:
- HasHeaders
- Defined in:
- lib/punchblock/event/offer.rb
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 included from HasHeaders
#headers, #headers=, #headers_hash
new
Methods inherited from RayoNode
class_from_registration, #eql?, import, new, register, #source
Instance Method Details
18
19
20
|
# File 'lib/punchblock/event/offer.rb', line 18
def from
read_attr :from
end
|
- (Object) from=(offer_from)
22
23
24
|
# File 'lib/punchblock/event/offer.rb', line 22
def from=(offer_from)
write_attr :from, offer_from
end
|
30
31
32
|
# File 'lib/punchblock/event/offer.rb', line 30
def inspect
"#<Punchblock::Event::Offer to=\"#{to}\", from=\"#{from}\", call_id=\"#{target_call_id}\""
end
|
- (Object) inspect_attributes
26
27
28
|
# File 'lib/punchblock/event/offer.rb', line 26
def inspect_attributes [:to, :from] + super
end
|
10
11
12
|
# File 'lib/punchblock/event/offer.rb', line 10
def to
read_attr :to
end
|
- (Object) to=(offer_to)
14
15
16
|
# File 'lib/punchblock/event/offer.rb', line 14
def to=(offer_to)
write_attr :to, offer_to
end
|