Sha256: d3b88f9daca4bba1f8ed5b2bc1660fc6e1e3c36b98ee69ea679ee6b98389b3ce
Contents?: true
Size: 578 Bytes
Versions: 10
Compression:
Stored size: 578 Bytes
Contents
# frozen_string_literal: false require 'cgi' module PayPalCheckoutSdk module Payments # # Shows details for an authorized payment, by ID. # class AuthorizationsGetRequest attr_accessor :path, :body, :headers, :verb def initialize(authorization_id) @headers = {} @body = nil @verb = "GET" @path = "/v2/payments/authorizations/{authorization_id}?" @path = @path.gsub("{authorization_id}", CGI.escape(authorization_id.to_s)) @headers["Content-Type"] = "application/json" end end end end
Version data entries
10 entries across 10 versions & 1 rubygems