Sha256: b3a39ef44831f46a604b4bf0999b5047261d52fb5e935482c7f17c90f98ba2f6
Contents?: true
Size: 597 Bytes
Versions: 4
Compression:
Stored size: 597 Bytes
Contents
module Balanced # A Credit represents a transfer of funds from your Marketplace's # escrow account to a Merchant's Account within your Marketplace. # # By default, a Credit is sent to the most recently added funding # destination associated with an Account. You may specify a specific # funding source. # class Credit include Balanced::Resource include Balanced::HypermediaRegistry define_hypermedia_types [:credits] def reverse(options={}) options[:href] = self.reversals.href reversal = Reversal.new(options) reversal.save end end end
Version data entries
4 entries across 4 versions & 1 rubygems