Module: ActiveGraph::Relationship::Property
- Extended by:
- ActiveSupport::Concern
- Includes:
- Shared::Property
- Included in:
- ActiveGraph::Relationship
- Defined in:
- lib/active_graph/relationship/property.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary
Constants included from Shared::Property
Shared::Property::NEO4J_DRIVER_DATA_TYPES
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
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
32 33 34 |
# File 'lib/active_graph/relationship/property.rb', line 32 def creates_unique_option self.class.creates_unique_option end |
#initialize(attributes = nil) ⇒ Object
28 29 30 |
# File 'lib/active_graph/relationship/property.rb', line 28 def initialize(attributes = nil) super(attributes) end |
#type ⇒ String
Returns a string representing the relationship type that will be created.
24 25 26 |
# File 'lib/active_graph/relationship/property.rb', line 24 def type self.class.type end |