Exception: ThreeScale::Backend::ServiceIsDefaultService
- Defined in:
- lib/3scale/backend/errors.rb
Instance Method Summary collapse
-
#initialize(id = nil) ⇒ ServiceIsDefaultService
constructor
A new instance of ServiceIsDefaultService.
Methods inherited from Error
#code, code, #http_code, #to_xml, underscore
Constructor Details
#initialize(id = nil) ⇒ ServiceIsDefaultService
Returns a new instance of ServiceIsDefaultService.
190 191 192 |
# File 'lib/3scale/backend/errors.rb', line 190 def initialize(id = nil) super %(Service id="#{id}" is the default service, cannot be removed) end |