examples/properties/with_if.rb in rest_model-0.1.1 vs examples/properties/with_if.rb in rest_model-0.1.2

- old
+ new

@@ -4,17 +4,17 @@ property :login property :password property :description, if: proc {password == "abc"} end -@root_with_description = Customer.parse({ +@root_with_description = Customer.from_source!({ login: 2000, password: "abc", description: "description"}).first inspect_rest_model(@root_with_description) -@root_without_description = Customer.parse({ +@root_without_description = Customer.from_source!({ login: 2000, password: "abcd", description: "some text II"}).first inspect_rest_model(@root_without_description)