lib/basic_serializer/dsl.rb in basic_serializer-0.1.2 vs lib/basic_serializer/dsl.rb in basic_serializer-0.1.3
- old
+ new
@@ -24,10 +24,11 @@
def schema_ref(ref)
@schema_ref ||= ref
end
- def format(name)
+ def format(name, pretty: false)
@format ||= name
+ @format ||= pretty
end
end
end