module Finix class Transfer include Finix::Resource include Finix::HypermediaRegistry define_hypermedia_types [:transfers, :funding_transfers, :fees] def reverse(args=0) atts = args.is_a?(Hash) ? {}.merge(args) : {:refund_amount => args} self.reversals.create atts end end end