Sha256: 073d8c73f0d2aa55ab726285e59004e85456b7c423835cdc3ffb6f79b258eab7

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

# frozen_string_literal: false

# This class was generated on Mon, 27 Aug 2018 13:52:18 PDT by version 0.1.0-dev+904328-dirty of Braintree SDK Generator

require 'cgi'

module PayPalCheckoutSdk
  module Payments
    #
    # Shows details for a captured payment, by ID.
    #
    class CapturesGetRequest
      attr_accessor :path, :body, :headers, :verb

      def initialize(capture_id)
        @headers = {}
        @body = nil
        @verb = "GET"
        @path = "/v2/payments/captures/{capture_id}?"

        @path = @path.gsub("{capture_id}", CGI.escape(capture_id.to_s))
        @headers["Content-Type"] = "application/json"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-0.5.0 lib/paypal/paypal_checkout_sdk/payments/captures_get_request.rb