Exception: JsonApiClient::Errors::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- JsonApiClient::Errors::ApiError
- Defined in:
- lib/json_api_client/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/json_api_client/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/json_api_client/errors.rb', line 4 def env @env end |