examples/properties/with_values.rb in rest_model-0.1.5 vs examples/properties/with_values.rb in rest_model-0.1.6

- old
+ new

@@ -4,7 +4,7 @@ property :periodicity, values: {1 => "c_53", 2 => "c_z1"} property :company, values: {"amazon" => "AM", "google" => "GOOG"} property :type, values: {simple: "1", complex: "2"} end -@root = Customer.from_source!(periodicity: 'c_53', company: "GOOG", type: 2).first +@root = Customer.from_source!(periodicity: 'c_53', company: "GOOG", type: "2").first inspect_rest_model(@root)