neo4j-ruby-driver 5.7.0.alpha.2 → 5.7.0.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a90f4b1552465dba77d7676cd9b48291cc8670f7281526f39c4eb7487c628d47
|
4
|
+
data.tar.gz: 6abfa73ccb29ea8a72d998a868f6698a4ceec45e51a724b8c171646fecf43213
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: accec76040359816388da6a815bbf8536fc3d03cb921c9418c1909d5777ac9181e1e63baa5e96422d313a98a00aa9b98d5505334131624c952b67bcb5f621a42
|
7
|
+
data.tar.gz: 87d27a0077b76f0d78b771c5d3043fcb6ebff2cb5bd26d6e93c615b739a3ae528d3b2110cf9ca88f8bd834d2a2eef06e7fc693b9fe2e43837a20fc40946fe5d8
|
@@ -3,20 +3,20 @@
|
|
3
3
|
module Neo4j::Driver
|
4
4
|
module Internal
|
5
5
|
class InternalRelationship < InternalEntity
|
6
|
-
attr_accessor :start_node_id, :end_node_id, :
|
6
|
+
attr_accessor :start_node_id, :end_node_id, :start_node_element_id, :end_node_element_id
|
7
7
|
attr_reader :type
|
8
8
|
|
9
|
-
def initialize(id, element_id, start_node_id,
|
9
|
+
def initialize(id, element_id, start_node_id, start_node_element_id, end_node_id, end_node_element_id, type, **properties)
|
10
10
|
super(id, element_id, **properties)
|
11
|
-
set_start_and_end_node_ids(start_node_id,
|
11
|
+
set_start_and_end_node_ids(start_node_id, start_node_element_id, end_node_id, end_node_element_id)
|
12
12
|
@type = type.to_sym
|
13
13
|
end
|
14
14
|
|
15
|
-
def set_start_and_end_node_ids(start_node_id,
|
15
|
+
def set_start_and_end_node_ids(start_node_id, start_node_element_id, end_node_id, end_node_element_id)
|
16
16
|
@start_node_id = start_node_id
|
17
|
-
@
|
17
|
+
@start_node_element_id = start_node_element_id || start_node_id.to_s
|
18
18
|
@end_node_id = end_node_id
|
19
|
-
@
|
19
|
+
@end_node_element_id = end_node_element_id || end_node_id.to_s
|
20
20
|
end
|
21
21
|
|
22
22
|
def to_s
|