Exception: Zermelo::Records::Errors::RecordNotFound
- Inherits:
-
ZermeloError
- Object
- RuntimeError
- ZermeloError
- 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
Returns a new instance of RecordNotFound.
11 12 13 14 |
# File 'lib/zermelo/records/errors.rb', line 11 def initialize(k, i) @klass = k @id = i end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
9 10 11 |
# File 'lib/zermelo/records/errors.rb', line 9 def id @id end |
#klass ⇒ Object (readonly)
Returns the value of attribute klass.
9 10 11 |
# File 'lib/zermelo/records/errors.rb', line 9 def klass @klass end |