Sha256: 556eda4b423eeccb057e97b91d85ae5e058d3407d2386f8cb836980905895583
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
# frozen_string_literal: true module Stripe class BitcoinReceiver < APIResource # Directly creating or retrieving BitcoinReceivers is deprecated. Please use # the Sources API instead: https://stripe.com/docs/sources/bitcoin extend Stripe::APIOperations::List OBJECT_NAME = "bitcoin_receiver".freeze def self.resource_url "/v1/bitcoin/receivers" end def resource_url if respond_to?(:customer) && !customer.nil? && customer != "" "#{Customer.resource_url}/#{CGI.escape(customer)}/sources" \ "/#{CGI.escape(id)}" else "#{self.class.resource_url}/#{CGI.escape(id)}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stripe-4.18.1 | lib/stripe/bitcoin_receiver.rb |