lib/tracker_api/client.rb in tracker_api-1.4.1 vs lib/tracker_api/client.rb in tracker_api-1.5.0

- old
+ new

@@ -73,9 +73,18 @@ # @return [Faraday::Response] def put(path, options = {}) request(:put, parse_query_and_convenience_headers(path, options)) end + # Make a HTTP DELETE request + # + # @param path [String] The path, relative to api endpoint + # @param options [Hash] Query and header params for request + # @return [Faraday::Response] + def delete(path, options = {}) + request(:delete, parse_query_and_convenience_headers(path, options)) + end + # Make one or more HTTP GET requests, optionally fetching # the next page of results from information passed back in headers # based on value in {#auto_paginate}. # # @param path [String] The path, relative to {#api_endpoint}