Exception: Xeroizer::ApiException
- Inherits:
-
StandardError
- Object
- StandardError
- Xeroizer::ApiException
- Defined in:
- lib/xeroizer/exceptions.rb
Instance Attribute Summary (collapse)
-
- (Object) message
readonly
Returns the value of attribute message.
-
- (Object) parsed_xml
readonly
Returns the value of attribute parsed_xml.
-
- (Object) request_body
readonly
Returns the value of attribute request_body.
-
- (Object) type
readonly
Returns the value of attribute type.
-
- (Object) xml
readonly
Returns the value of attribute xml.
Instance Method Summary (collapse)
-
- (ApiException) initialize(type, message, xml, parsed_xml, request_body)
constructor
A new instance of ApiException.
Constructor Details
- (ApiException) initialize(type, message, xml, parsed_xml, request_body)
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
- (Object) message (readonly)
Returns the value of attribute message
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def @message end |
- (Object) parsed_xml (readonly)
Returns the value of attribute parsed_xml
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def parsed_xml @parsed_xml end |
- (Object) request_body (readonly)
Returns the value of attribute request_body
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def request_body @request_body end |
- (Object) type (readonly)
Returns the value of attribute type
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def type @type end |
- (Object) xml (readonly)
Returns the value of attribute xml
18 19 20 |
# File 'lib/xeroizer/exceptions.rb', line 18 def xml @xml end |