Exception: Appoxy::Api::ServiceError
- Inherits:
-
StandardError
- Object
- StandardError
- Appoxy::Api::ServiceError
- Defined in:
- lib/api/client_helper.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(class_name, body) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(class_name, body) ⇒ ServiceError
Returns a new instance of ServiceError.
25 26 27 28 29 |
# File 'lib/api/client_helper.rb', line 25 def initialize(class_name, body) super("#{class_name}") @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
23 24 25 |
# File 'lib/api/client_helper.rb', line 23 def body @body end |