Exception: EncodingDotCom::EncodingDotComError
- Inherits:
-
StandardError
- Object
- StandardError
- EncodingDotCom::EncodingDotComError
- Defined in:
- lib/encoding_dot_com/connection.rb
Direct Known Subclasses
AuthenticationError, BadRequestError, BadUrlError, NotFoundError
Instance Method Summary collapse
-
#initialize(message, request_xml) ⇒ EncodingDotComError
constructor
A new instance of EncodingDotComError.
- #to_s ⇒ Object
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(, request_xml) super() @request_xml = request_xml end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/encoding_dot_com/connection.rb', line 10 def to_s "#{super}\nRequest:\n#{@request_xml}" end |