examples/properties/collections.rb in rest_model-0.2.0 vs examples/properties/collections.rb in rest_model-0.2.1
- old
+ new
@@ -3,9 +3,9 @@
class Customer < RestModel
property :login
end
@customers = Customer.from_source!([{login: "jackiechan2010"},
- {login: "brucelee"},
- {login: "vcr2"}])
+ {login: "brucelee"},
+ {login: "vcr2"}])
-@customers.map(&method(:inspect_rest_model))
+@customers.map &method(:inspect_rest_model)