lib/pushpad/request.rb in pushpad-1.0.0 vs lib/pushpad/request.rb in pushpad-1.1.0

- old
+ new

@@ -16,9 +16,13 @@ def post(endpoint, body, options = {}) perform(Net::HTTP::Post, endpoint, options) do |request| request.body = body end end + + def delete(endpoint, options = {}) + perform(Net::HTTP::Delete, endpoint, options) + end private def perform(method, endpoint, options) uri = URI.parse(endpoint)