neo4j 3.0.4 → 4.0.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,21 +0,0 @@
1
- module Neo4j::ActiveNode
2
- module SerializedProperties
3
- extend ActiveSupport::Concern
4
-
5
- def serialized_properties
6
- self.class.serialized_properties
7
- end
8
-
9
- module ClassMethods
10
-
11
- def serialized_properties
12
- @serialize || {}
13
- end
14
-
15
- def serialize(name, coder = JSON)
16
- @serialize ||= {}
17
- @serialize[name] = coder
18
- end
19
- end
20
- end
21
- end