class PayPal::RefreshTokenRequest
Attributes
body[RW]
headers[RW]
path[RW]
verb[RW]
Public Class Methods
new(environment, authorization_code)
click to toggle source
# File lib/core/token_requests.rb, line 27 def initialize(environment, authorization_code) @path = "/v1/identity/openidconnect/tokenservice" @body = { :grant_type => "authorization_code", :code => authorization_code, } @headers = { "Content-Type" => "application/x-www-form-urlencoded", "Authorization" => environment.authorizationString(), } @verb = "POST" end