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