Class: Punchblock::Event::Offer
- Inherits:
-
Punchblock::Event
- Object
- Niceogiri::XML::Node
- RayoNode
- Punchblock::Event
- Punchblock::Event::Offer
- Includes:
- HasHeaders
- Defined in:
- lib/punchblock/event/offer.rb
Instance Attribute Summary
Attributes inherited from RayoNode
#call_id, #client, #component_id, #connection, #original_component
Instance Method Summary collapse
- #from ⇒ Object
- #from=(offer_from) ⇒ Object
-
#inspect_attributes ⇒ Object
:nodoc:.
- #to ⇒ Object
- #to=(offer_to) ⇒ Object
Methods included from HasHeaders
#headers, #headers=, #headers_hash
Methods inherited from RayoNode
class_from_registration, #eql?, import, #inspect, new, register, #source
Instance Method Details
#from ⇒ Object
16 17 18 |
# File 'lib/punchblock/event/offer.rb', line 16 def from read_attr :from end |
#from=(offer_from) ⇒ Object
20 21 22 |
# File 'lib/punchblock/event/offer.rb', line 20 def from=(offer_from) write_attr :from, offer_from end |
#inspect_attributes ⇒ Object
:nodoc:
24 25 26 |
# File 'lib/punchblock/event/offer.rb', line 24 def inspect_attributes # :nodoc: [:to, :from] + super end |
#to ⇒ Object
8 9 10 |
# File 'lib/punchblock/event/offer.rb', line 8 def to read_attr :to end |
#to=(offer_to) ⇒ Object
12 13 14 |
# File 'lib/punchblock/event/offer.rb', line 12 def to=(offer_to) write_attr :to, offer_to end |