Sha256: 9c45fe47a099f28cbadf4390db107c32a825164a905db66854bfd8c79500c905
Contents?: true
Size: 537 Bytes
Versions: 9
Compression:
Stored size: 537 Bytes
Contents
module Stripe class BitcoinReceiver < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Update include Stripe::APIOperations::Delete extend Stripe::APIOperations::List def self.resource_url "/v1/bitcoin/receivers" end def resource_url if respond_to?(:customer) && !self.customer.nil? "#{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
9 entries across 9 versions & 1 rubygems