Exception: CIMI::Model::NotFound
- Inherits:
-
StandardError
- Object
- StandardError
- CIMI::Model::NotFound
- Defined in:
- lib/cimi/models/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize ⇒ NotFound
Returns a new instance of NotFound.
21 22 23 24 |
# File 'lib/cimi/models/errors.rb', line 21 def initialize super("Requested Entity Not Found") self.code = 404 end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
19 20 21 |
# File 'lib/cimi/models/errors.rb', line 19 def code @code end |