Sha256: 099d6bec27f645306337bebda1a23105b779c72153304478727cc40c56b73f1b

Contents?: true

Size: 250 Bytes

Versions: 15

Compression:

Stored size: 250 Bytes

Contents

module Finix
  class Transfer
    include Finix::Resource
    include Finix::HypermediaRegistry

    define_hypermedia_types [:transfers]

    def reverse(refund_amount=0)
      self.reversals.create :refund_amount => refund_amount
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
finix-0.16 lib/finix/resources/transfer.rb
finix-0.15 lib/finix/resources/transfer.rb
finix-0.14 lib/finix/resources/transfer.rb
finix-0.13 lib/finix/resources/transfer.rb
finix-0.12 lib/finix/resources/transfer.rb
finix-0.11 lib/finix/resources/transfer.rb
finix-0.10 lib/finix/resources/transfer.rb
finix-0.9 lib/finix/resources/transfer.rb
finix-0.8 lib/finix/resources/transfer.rb
finix-0.7 lib/finix/resources/transfer.rb
finix-0.6 lib/finix/resources/transfer.rb
finix-0.5 lib/finix/resources/transfer.rb
finix-0.4 lib/finix/resources/transfer.rb
finix-0.3 lib/finix/resources/transfer.rb
finix-0.2 lib/finix/resources/transfer.rb