Exception: ThreeScale::Backend::ProviderKeyExists
- Defined in:
- lib/3scale/backend/errors.rb
Instance Method Summary collapse
-
#initialize(key) ⇒ ProviderKeyExists
constructor
A new instance of ProviderKeyExists.
Methods inherited from Error
#code, code, #http_code, #to_xml, underscore
Constructor Details
#initialize(key) ⇒ ProviderKeyExists
Returns a new instance of ProviderKeyExists.
202 203 204 |
# File 'lib/3scale/backend/errors.rb', line 202 def initialize(key) super %(Provider key="#{key}" already exists) end |