Exception: Xeroizer::ApiException
- Inherits:
-
StandardError
- Object
- StandardError
- Xeroizer::ApiException
- Defined in:
- lib/xeroizer/exceptions.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#parsed_xml ⇒ Object
readonly
Returns the value of attribute parsed_xml.
-
#request_body ⇒ Object
readonly
Returns the value of attribute request_body.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#xml ⇒ Object
readonly
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(type, message, xml, parsed_xml, request_body) ⇒ ApiException
constructor
A new instance of ApiException.
Constructor Details
#initialize(type, message, xml, parsed_xml, request_body) ⇒ ApiException
Returns a new instance of ApiException.
20 21 22 23 24 25 26 |
# File 'lib/xeroizer/exceptions.rb', line 20 def initialize(type, , xml, parsed_xml, request_body) @type = type @message = @xml = xml @parsed_xml = parsed_xml @request_body = request_body end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def @message end |
#parsed_xml ⇒ Object (readonly)
Returns the value of attribute parsed_xml.
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def parsed_xml @parsed_xml end |
#request_body ⇒ Object (readonly)
Returns the value of attribute request_body.
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def request_body @request_body end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def type @type end |
#xml ⇒ Object (readonly)
Returns the value of attribute xml.
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def xml @xml end |