Class: ApiSpec::ErrorResponse
- Inherits:
-
Struct
- Object
- Struct
- ApiSpec::ErrorResponse
- Defined in:
- lib/api_spec/helpers.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#code ⇒ Object
Returns the value of attribute code.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
4 5 6 |
# File 'lib/api_spec/helpers.rb', line 4 def body @body end |
#code ⇒ Object
Returns the value of attribute code
4 5 6 |
# File 'lib/api_spec/helpers.rb', line 4 def code @code end |