Exception: Zermelo::Records::Errors::RecordNotFound
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Zermelo::Records::Errors::RecordNotFound
- Defined in:
- lib/zermelo/records/errors.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#klass ⇒ Object
readonly
Returns the value of attribute klass.
Instance Method Summary collapse
-
#initialize(k, i) ⇒ RecordNotFound
constructor
A new instance of RecordNotFound.
Constructor Details
#initialize(k, i) ⇒ RecordNotFound
8 9 10 11 |
# File 'lib/zermelo/records/errors.rb', line 8 def initialize(k, i) @klass = k @id = i end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/zermelo/records/errors.rb', line 6 def id @id end |
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
6 7 8 |
# File 'lib/zermelo/records/errors.rb', line 6 def klass @klass end |