lib/eco/data/locations/node_plain/serial.rb in eco-helpers-2.6.0 vs lib/eco/data/locations/node_plain/serial.rb in eco-helpers-2.6.1
- old
+ new
@@ -4,10 +4,10 @@
# @return [Proc] the serializer to be used.
def serializer
@serializer ||= proc do |node|
raise "Expecting NodePlain. Given: #{node.class}" unless node.is_a?(Eco::Data::Locations::NodePlain)
- keys = Eco::Data::Locations::NodePlain::NODE_PLAIN_ATTRS
+ keys = Eco::Data::Locations::NodePlain::ALL_ATTRS
node.to_h(*keys)
end
end
end
end