examples/properties/with_id.rb in rest_model-0.1.1 vs examples/properties/with_id.rb in rest_model-0.1.2
- old
+ new
@@ -2,7 +2,7 @@
class Customer < RestModel
id
end
-@root = Customer.parse({id: 2000}).first
+@root = Customer.from_source!(id: 2000).first
inspect_rest_model(@root)