lib/ivy/serializers/attribute.rb in ivy-serializers-0.2.0 vs lib/ivy/serializers/attribute.rb in ivy-serializers-0.3.0

- old
+ new

@@ -15,10 +15,10 @@ def default_getter(resource) resource.public_send(@name) end def get(resource) - @getter.call(resource) + @getter.call(resource) if resource end end end end