Exception: JSONAPI::Consumer::Errors::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- JSONAPI::Consumer::Errors::ApiError
- Defined in:
- lib/jsonapi/consumer/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(env) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(env) ⇒ ApiError
Returns a new instance of ApiError.
5 6 7 |
# File 'lib/jsonapi/consumer/errors.rb', line 5 def initialize(env) @env = env end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
4 5 6 |
# File 'lib/jsonapi/consumer/errors.rb', line 4 def env @env end |