Exception: Zermelo::Records::Errors::RecordsNotFound

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(k, i) ⇒ RecordsNotFound

Returns a new instance of RecordsNotFound.



17
18
19
20
# File 'lib/zermelo/records/errors.rb', line 17

def initialize(k, i)
  @klass = k
  @ids = i
end

Instance Attribute Details

#idsObject (readonly)

Returns the value of attribute ids.



15
16
17
# File 'lib/zermelo/records/errors.rb', line 15

def ids
  @ids
end

#klassObject (readonly)

Returns the value of attribute klass.



15
16
17
# File 'lib/zermelo/records/errors.rb', line 15

def klass
  @klass
end