lib/tito/request_proxy.rb in tito-0.2.9 vs lib/tito/request_proxy.rb in tito-0.2.10
- old
+ new
@@ -19,11 +19,11 @@
def get(path, params = {})
proxy_class.get(path, params.merge(extra_params))
end
- def all
- proxy_class.all(extra_params)
+ def all(params = {})
+ proxy_class.all(params.merge(extra_params))
end
def new(attrs = {})
proxy_class.new(attrs.merge(extra_params))
end
\ No newline at end of file