Exception: ThreeScale::Core::ServiceRequiresRegisteredUser
- Defined in:
- lib/3scale/core/errors.rb
Instance Method Summary collapse
-
#initialize(id = nil) ⇒ ServiceRequiresRegisteredUser
constructor
A new instance of ServiceRequiresRegisteredUser.
Methods inherited from Error
code, #code, #to_xml, underscore
Constructor Details
#initialize(id = nil) ⇒ ServiceRequiresRegisteredUser
Returns a new instance of ServiceRequiresRegisteredUser.
47 48 49 |
# File 'lib/3scale/core/errors.rb', line 47 def initialize(id = nil) super %(Service id="#{id}" requires users to be registered before hand) end |