Exception: Zermelo::Records::Errors::RecordNotSaved

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(r) ⇒ RecordNotSaved

Returns a new instance of RecordNotSaved.



37
38
39
# File 'lib/zermelo/records/errors.rb', line 37

def initialize(r)
  @record = r
end

Instance Attribute Details

#recordObject (readonly)

Returns the value of attribute record.



35
36
37
# File 'lib/zermelo/records/errors.rb', line 35

def record
  @record
end