Sha256: df52f9c92b77ca85ed1a306f326ebf533a724c01cb47f39ce3b986f27461a13e

Contents?: true

Size: 380 Bytes

Versions: 7

Compression:

Stored size: 380 Bytes

Contents

module Workarea
  module Paypal
    module Requests
      class DeleteWebhook
        attr_accessor :path, :body, :headers, :verb

        def initialize(id)
          @headers = {}
          @body = nil
          @verb = "DELETE"
          @path = "/v1/notifications/webhooks/#{id}"
          @headers["Content-Type"] = "application/json"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
workarea-paypal-3.0.6 lib/workarea/paypal/requests/delete_webhook.rb
workarea-paypal-3.0.5 lib/workarea/paypal/requests/delete_webhook.rb
workarea-paypal-3.0.4 lib/workarea/paypal/requests/delete_webhook.rb
workarea-paypal-3.0.3 lib/workarea/paypal/requests/delete_webhook.rb
workarea-paypal-3.0.2 lib/workarea/paypal/requests/delete_webhook.rb
workarea-paypal-3.0.1 lib/workarea/paypal/requests/delete_webhook.rb
workarea-paypal-3.0.0 lib/workarea/paypal/requests/delete_webhook.rb