Sha256: c32a039f3afc073d6ded4c8cb81206ddba1a7dd5cb3929b7180e7916c1747e84
Contents?: true
Size: 649 Bytes
Versions: 18
Compression:
Stored size: 649 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}\", headers=#{headers_hash.inspect}, call_id=\"#{target_call_id}\"" end end # Offer end end # Punchblock
Version data entries
18 entries across 18 versions & 1 rubygems