Exception: Zermelo::Records::Errors::RecordNotFound

Inherits:
ZermeloError
  • Object
show all
Defined in:
lib/zermelo/records/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (readonly)

Returns the value of attribute id.



9
10
11
# File 'lib/zermelo/records/errors.rb', line 9

def id
  @id
end

#klassObject (readonly)

Returns the value of attribute klass.



9
10
11
# File 'lib/zermelo/records/errors.rb', line 9

def klass
  @klass
end