Sha256: 6a7c6a2b7b63543cce4dc4c8245865013220e5292ada3b21e05ef9d00577d171
Contents?: true
Size: 745 Bytes
Versions: 20
Compression:
Stored size: 745 Bytes
Contents
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::Create include Stripe::APIOperations::Save include Stripe::APIOperations::Delete 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
20 entries across 20 versions & 1 rubygems