Exception: Neo4j::Model::RecordInvalidError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Neo4j::Model::RecordInvalidError
- Defined in:
- lib/neo4j/model.rb
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
-
#initialize(record) ⇒ RecordInvalidError
constructor
A new instance of RecordInvalidError.
Constructor Details
#initialize(record) ⇒ RecordInvalidError
Returns a new instance of RecordInvalidError.
16 17 18 19 |
# File 'lib/neo4j/model.rb', line 16 def initialize(record) @record = record super(@record.errors..join(", ")) end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
15 16 17 |
# File 'lib/neo4j/model.rb', line 15 def record @record end |