lib/punchblock/event/active_speaker.rb in punchblock-1.9.4 vs lib/punchblock/event/active_speaker.rb in punchblock-2.0.0.beta1
- old
+ new
@@ -1,19 +1,11 @@
# encoding: utf-8
module Punchblock
class Event
module ActiveSpeaker
- def call_id
- read_attr :'call-id'
- end
-
- def call_id=(other)
- write_attr :'call-id', other
- end
-
- def inspect_attributes # :nodoc:
- [:call_id] + super
+ def self.included(klass)
+ klass.attribute :call_id
end
end
end
end