Sha256: ef72ba8ce70ce6c68c871cfbfbe165234765e4d3d6bfe1e8a0438fa58e86e972
Contents?: true
Size: 558 Bytes
Versions: 10
Compression:
Stored size: 558 Bytes
Contents
module Stripe class BitcoinReceiver < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Save 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? && self.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
10 entries across 10 versions & 1 rubygems