Exception: ThreeScale::Backend::ServiceIsDefaultService

Inherits:
Error
  • Object
show all
Defined in:
lib/3scale/backend/errors.rb

Instance Method Summary collapse

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