Sha256: 980a5c1af5c21e7e5ee5c03631d9893ec5096c5b21f587a4acb6c2b7b0ac5ddd
Contents?: true
Size: 596 Bytes
Versions: 15
Compression:
Stored size: 596 Bytes
Contents
module Stripe class BitcoinReceiver < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Save include Stripe::APIOperations::Delete extend Stripe::APIOperations::List OBJECT_NAME = 'bitcoin_receiver' 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
15 entries across 15 versions & 1 rubygems