Exception: EncodingDotCom::EncodingDotComError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/encoding_dot_com/connection.rb

Instance Method Summary collapse

Constructor Details

#initialize(message, request_xml) ⇒ EncodingDotComError

Returns a new instance of EncodingDotComError.



5
6
7
8
# File 'lib/encoding_dot_com/connection.rb', line 5

def initialize(message, request_xml)
  super(message)
  @request_xml = request_xml
end

Instance Method Details

#to_sObject



10
11
12
# File 'lib/encoding_dot_com/connection.rb', line 10

def to_s
  "#{super}\nRequest:\n#{@request_xml}"
end