module Punchblock
  module Protocol
    class Rayo
      module Event
        class DTMF < RayoNode
          register :dtmf, :core

          def signal
            read_attr :signal
          end

          def inspect_attributes # :nodoc:
            [:signal] + super
          end
        end # End
      end
    end # Rayo
  end # Protocol
end # Punchblock

module Punchblock
  module Protocol
    class Rayo
      module Event
        class DTMF < RayoNode
          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
      end
    end # Rayo
  end # Protocol
end # Punchblock

Allow setting the signal on a DTMF event
Allow setting the signal on a DTMF event