diff --git a/lib/gds_api/base.rb b/lib/gds_api/base.rb index d077542f..1ab267a7 100644 --- a/lib/gds_api/base.rb +++ b/lib/gds_api/base.rb @@ -23,7 +23,6 @@ def create_client :put_json, :patch_json, :delete_json, - :delete_json_with_params!, :get_raw, :get_raw!, :put_multipart, :post_multipart diff --git a/lib/gds_api/json_client.rb b/lib/gds_api/json_client.rb index 7f9368cf..e1d26936 100644 --- a/lib/gds_api/json_client.rb +++ b/lib/gds_api/json_client.rb @@ -68,18 +68,6 @@ def delete_json(url, params = {}, additional_headers = {}) do_json_request(:delete, url, params, additional_headers) end - def delete_json_with_params!(url, params, additional_headers = {}) - warn <<-doc - DEPRECATION NOTICE: Delete requests should not include parameters. - - Do not use this method as the ability to do this will be removed. - - Called from: #{caller[2]} - doc - - do_json_request(:delete, url, params, additional_headers) - end - def post_multipart(url, params) r = do_raw_request(:post, url, params.merge(multipart: true)) Response.new(r)