Exception: ApiRecipes::ApiConfigIsNotAnHash
- Inherits:
-
Exception
- Object
- Exception
- ApiRecipes::ApiConfigIsNotAnHash
- Defined in:
- lib/api_recipes/exceptions.rb
Instance Method Summary collapse
-
#initialize(endpoint) ⇒ ApiConfigIsNotAnHash
constructor
A new instance of ApiConfigIsNotAnHash.
Constructor Details
#initialize(endpoint) ⇒ ApiConfigIsNotAnHash
Returns a new instance of ApiConfigIsNotAnHash.
58 59 60 61 |
# File 'lib/api_recipes/exceptions.rb', line 58 def initialize(endpoint) = "provided config for endpoint '#{endpoint}' must be an Hash" super() end |