Exception: RestDSL::UndefinedEnvironmentError
- Defined in:
- lib/rest_dsl/errors.rb
Instance Method Summary collapse
-
#initialize(environment, available_envs) ⇒ UndefinedEnvironmentError
constructor
A new instance of UndefinedEnvironmentError.
Constructor Details
#initialize(environment, available_envs) ⇒ UndefinedEnvironmentError
Returns a new instance of UndefinedEnvironmentError.
9 10 11 12 |
# File 'lib/rest_dsl/errors.rb', line 9 def initialize(environment, available_envs) = "Undefined environment, #{environment}, known environments: #{available_envs.keys.join(', ')}" super() end |