lib/rest_client/http_adapter.rb in wcc-media-client-0.1.1 vs lib/rest_client/http_adapter.rb in wcc-media-client-0.2.0
- old
+ new
@@ -10,15 +10,6 @@
.get(url, params: query)
else
HTTP[headers].get(url, params: query)
end
end
-
- def post(url, body, headers = {}, proxy = {})
- if proxy[:host]
- HTTP[headers].via(proxy[:host], proxy[:port], proxy[:username], proxy[:password])
- .post(url, json: body)
- else
- HTTP[headers].post(url, json: body)
- end
- end
end