examples/to_source/serializables.rb in rest_model-0.1.7 vs examples/to_source/serializables.rb in rest_model-0.1.8
- old
+ new
@@ -2,10 +2,10 @@
RestModel::Configuration.configure do |c|
c.true_value = "X"
c.false_value = ""
c.date_format = "%Y%m%d"
- c.datetime_format = "%a %b %d %H:%M:%S %Y"
+ c.date_time_format = "%a %b %d %H:%M:%S %Y"
end
class Customer < RestModel
property :login
property :age, type: Integer