lib/punchblock/event/dtmf.rb in punchblock-1.9.4 vs lib/punchblock/event/dtmf.rb in punchblock-2.0.0.beta1
- old
+ new
@@ -3,19 +3,9 @@
module Punchblock
class Event
class DTMF < Event
register :dtmf, :core
- def signal
- read_attr :signal
- end
-
- def signal=(other)
- write_attr :signal, other
- end
-
- def inspect_attributes # :nodoc:
- [:signal] + super
- end
- end # End
+ attribute :signal
+ end
end
-end # Punchblock
+end