class Workarea::Paypal::Requests::CreateWebhook
Attributes
body[RW]
headers[RW]
path[RW]
verb[RW]
Public Class Methods
new()
click to toggle source
# File lib/workarea/paypal/requests/create_webhook.rb, line 7 def initialize @headers = {} @body = nil @verb = "POST" @path = "/v1/notifications/webhooks" @headers["Content-Type"] = "application/json" end
Public Instance Methods
request_body(body)
click to toggle source
# File lib/workarea/paypal/requests/create_webhook.rb, line 15 def request_body(body) @body = body end