examples/properties/with_if.rb in rest_model-0.2.0 vs examples/properties/with_if.rb in rest_model-0.2.1
- old
+ new
@@ -7,15 +7,17 @@
end
@root_with_description = Customer.from_source!({
login: 2000,
password: "abc",
- description: "description"}).first
+ description: "description"
+}).first
inspect_rest_model(@root_with_description)
@root_without_description = Customer.from_source!({
login: 2000,
password: "abcd",
- description: "some text II"}).first
+ description: "some text II"
+}).first
inspect_rest_model(@root_without_description)