Sha256: 0c93395a920a23c2891686e79142777775a2237f54e98a65c29428559826e769
Contents?: true
Size: 435 Bytes
Versions: 7
Compression:
Stored size: 435 Bytes
Contents
module Workarea module Paypal module Requests class CreateWebhook attr_accessor :path, :body, :headers, :verb def initialize @headers = {} @body = nil @verb = "POST" @path = "/v1/notifications/webhooks" @headers["Content-Type"] = "application/json" end def request_body(body) @body = body end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems