Module: Neo4j::ActiveRel::Property
- Extended by:
- ActiveSupport::Concern
- Includes:
- Shared::Property
- Included in:
- Neo4j::ActiveRel
- Defined in:
- lib/neo4j/active_rel/property.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary
Constants included from Shared::Attributes
Shared::Attributes::DEPRECATED_OBJECT_METHODS
Instance Attribute Summary
Attributes included from Shared::Property
Instance Method Summary collapse
- #creates_unique_option ⇒ Object
- #initialize(attributes = nil) ⇒ Object
-
#type ⇒ String
(also: #rel_type)
A string representing the relationship type that will be created.
Methods included from Shared::Property
#inject_defaults!, #inspect, #mutations_from_database, #read_attribute, #reload_properties!, #send_props, #undeclared_properties=
Methods included from Shared::TypecastedAttributes
Methods included from Shared::Attributes
#==, #attributes, #query_attribute, #write_attribute
Methods included from Shared::MassAssignment
#add_undeclared_property, #assign_attributes, #attributes=
Instance Method Details
#creates_unique_option ⇒ Object
35 36 37 |
# File 'lib/neo4j/active_rel/property.rb', line 35 def creates_unique_option self.class.creates_unique_option end |
#initialize(attributes = nil) ⇒ Object
31 32 33 |
# File 'lib/neo4j/active_rel/property.rb', line 31 def initialize(attributes = nil) super(attributes) end |
#type ⇒ String Also known as: rel_type
Returns a string representing the relationship type that will be created.
26 27 28 |
# File 'lib/neo4j/active_rel/property.rb', line 26 def type self.class.type end |