Exception: ThreeScaleToolbox::ActiveDocsNotFoundError
- Defined in:
- lib/3scale_toolbox/error.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(id) ⇒ ActiveDocsNotFoundError
constructor
A new instance of ActiveDocsNotFoundError.
Methods inherited from Error
Constructor Details
#initialize(id) ⇒ ActiveDocsNotFoundError
Returns a new instance of ActiveDocsNotFoundError.
27 28 29 |
# File 'lib/3scale_toolbox/error.rb', line 27 def initialize(id) super("ActiveDocs with ID #{id} not found") end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
25 26 27 |
# File 'lib/3scale_toolbox/error.rb', line 25 def id @id end |
Instance Method Details
#code ⇒ Object
31 32 33 |
# File 'lib/3scale_toolbox/error.rb', line 31 def code 'E_ACTIVEDOCS_NOT_FOUND' end |