lib/tito/request_proxy.rb in tito-0.2.3 vs lib/tito/request_proxy.rb in tito-0.2.4
- old
+ new
@@ -8,11 +8,11 @@
@proxy_path = proxy_path
@proxy_class = proxy_class
@api_key = api_key
end
- def get
- proxy_class.get(path_prefix: proxy_path, api_key: api_key)
+ def get(path, params = {})
+ proxy_class.get(path, params.merge(api_key: api_key))
end
def all
proxy_class.all(path_prefix: proxy_path, api_key: api_key)
end
\ No newline at end of file