lib/cuboid/application.rb in cuboid-0.2.5 vs lib/cuboid/application.rb in cuboid-0.2.6

- old
+ new

@@ -151,10 +151,12 @@ @serializer = serializer end def serializer @serializer ||= nil - @serializer || RPC::Serializer + + # Default to JSON for REST API compatibility. + @serializer || JSON end def validate_options_with( handler ) @validate_options_with = handler end