Sha256: f7e766b2535cfab2bfb6a3c301953015c065011ea085f802b9d5b45537653a6c
Contents?: true
Size: 535 Bytes
Versions: 21
Compression:
Stored size: 535 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? "#{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
21 entries across 21 versions & 1 rubygems