Sha256: d1e774324f7c8894c2b6c512051453b225e7bf31f3280b4c7ff79bf6e9f906c0
Contents?: true
Size: 609 Bytes
Versions: 2
Compression:
Stored size: 609 Bytes
Contents
# encoding: utf-8 module Punchblock class Event class Offer < Event register :offer, :core include HasHeaders def to read_attr :to end def to=(offer_to) write_attr :to, offer_to end def from read_attr :from end def from=(offer_from) write_attr :from, offer_from end def inspect_attributes # :nodoc: [:to, :from] + super end def inspect "#<Punchblock::Event::Offer to=\"#{to}\", from=\"#{from}\", call_id=\"#{call_id}\"" end end # Offer end end # Punchblock
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
punchblock-0.11.0 | lib/punchblock/event/offer.rb |
punchblock-0.10.0 | lib/punchblock/event/offer.rb |