lib/neo4j/shared/initialize.rb in neo4j-5.2.15 vs lib/neo4j/shared/initialize.rb in neo4j-6.0.0.alpha.1
- old
+ new
@@ -13,15 +13,15 @@
def convert_and_assign_attributes(properties)
@attributes ||= Hash[self.class.attributes_nil_hash]
stringify_attributes!(@attributes, properties)
self.default_properties = properties if respond_to?(:default_properties=)
- self.class.declared_property_manager.convert_properties_to(self, :ruby, @attributes)
+ self.class.declared_properties.convert_properties_to(self, :ruby, @attributes)
end
def stringify_attributes!(attr, properties)
properties.each_pair do |k, v|
- key = self.class.declared_property_manager.string_key(k)
+ key = self.class.declared_properties.string_key(k)
attr[key.freeze] = v
end
end
end
end