lib/punchblock/protocol_error.rb in punchblock-0.12.0 vs lib/punchblock/protocol_error.rb in punchblock-1.0.0

- old
+ new

@@ -1,10 +1,10 @@ # encoding: utf-8 module Punchblock ## # This exception may be raised if a transport error is detected. - class ProtocolError < StandardError + class ProtocolError < Error attr_accessor :name, :text, :call_id, :component_id def setup(name = nil, text = nil, call_id = nil, component_id = nil) @name, @text, @call_id, @component_id = name, text, call_id, component_id self