Sha256: be0df18bd77191800227b0ce84288591910271e82260e755f1df57fdda37d651

Contents?: true

Size: 479 Bytes

Versions: 15

Compression:

Stored size: 479 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class FundingInstructions < APIResource
    OBJECT_NAME = "funding_instructions"

    def resource_url
      if !respond_to?(:customer) || customer.nil?
        raise NotImplementedError,
              "FundingInstructions cannot be accessed without a customer ID."
      end
      "#{Customer.resource_url}/#{CGI.escape(customer)}/funding_instructions" "/#{CGI.escape(id)}"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
stripe-7.1.0 lib/stripe/resources/funding_instructions.rb
stripe-7.1.0.pre.beta.2 lib/stripe/resources/funding_instructions.rb
stripe-7.1.0.pre.beta.1 lib/stripe/resources/funding_instructions.rb
stripe-7.0.0 lib/stripe/resources/funding_instructions.rb
stripe-6.6.0.pre.beta.1 lib/stripe/resources/funding_instructions.rb
stripe-6.5.0 lib/stripe/resources/funding_instructions.rb
stripe-6.4.0 lib/stripe/resources/funding_instructions.rb
stripe-6.3.0 lib/stripe/resources/funding_instructions.rb
stripe-6.2.0 lib/stripe/resources/funding_instructions.rb
stripe-6.1.0 lib/stripe/resources/funding_instructions.rb
stripe-6.0.0 lib/stripe/resources/funding_instructions.rb
stripe-5.55.0 lib/stripe/resources/funding_instructions.rb
stripe-5.54.0 lib/stripe/resources/funding_instructions.rb
stripe-5.53.0 lib/stripe/resources/funding_instructions.rb
stripe-5.52.0 lib/stripe/resources/funding_instructions.rb