Exception: Neo4j::ActiveNode::Persistence::RecordInvalidError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Neo4j::ActiveNode::Persistence::RecordInvalidError
- Defined in:
- lib/neo4j/active_node/persistence.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.
6 7 8 9 |
# File 'lib/neo4j/active_node/persistence.rb', line 6 def initialize(record) @record = record super(@record.errors..join(', ')) end |
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
4 5 6 |
# File 'lib/neo4j/active_node/persistence.rb', line 4 def record @record end |