Class: Plaza::RestfulModel::ErrorResponse
- Inherits:
-
Struct
- Object
- Struct
- Plaza::RestfulModel::ErrorResponse
- Defined in:
- lib/plaza/models/restful_model.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
3 4 5 |
# File 'lib/plaza/models/restful_model.rb', line 3 def body @body end |
#code ⇒ Object
Returns the value of attribute code
3 4 5 |
# File 'lib/plaza/models/restful_model.rb', line 3 def code @code end |
Instance Method Details
#to_str ⇒ Object
4 5 6 |
# File 'lib/plaza/models/restful_model.rb', line 4 def to_str body end |