spec/fixtures/cow.rb in dm-serializer-0.9.2 vs spec/fixtures/cow.rb in dm-serializer-0.9.3
- old
+ new
@@ -3,6 +3,10 @@
property :id, Integer, :key => true
property :composite, Integer, :key => true
property :name, String
property :breed, String
+
+ def serialize_properties
+ {:extra => "Extra", :another => 42}
+ end
end