Sha256: 5fdbba631629e89fc27cc3bf10da2665ec614988a1d0428bb6d1e761dab7c4a6

Contents?: true

Size: 552 Bytes

Versions: 105

Compression:

Stored size: 552 Bytes

Contents

module Braintree
  class TestTransaction < Transaction
    def self.settle(transaction_id)
      Configuration.gateway.testing.settle(transaction_id)
    end

    def self.settlement_confirm(transaction_id)
      Configuration.gateway.testing.settlement_confirm(transaction_id)
    end

    def self.settlement_decline(transaction_id)
      Configuration.gateway.testing.settlement_decline(transaction_id)
    end

    def self.settlement_pending(transaction_id)
      Configuration.gateway.testing.settlement_pending(transaction_id)
    end
  end
end

Version data entries

105 entries across 105 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/test_transaction.rb
braintree-4.22.0 lib/braintree/test_transaction.rb
braintree-4.21.0 lib/braintree/test_transaction.rb
braintree-4.20.0 lib/braintree/test_transaction.rb
braintree-4.19.0 lib/braintree/test_transaction.rb
braintree-4.18.0 lib/braintree/test_transaction.rb
braintree-4.17.0 lib/braintree/test_transaction.rb
braintree-4.16.0 lib/braintree/test_transaction.rb
braintree-4.15.0 lib/braintree/test_transaction.rb
braintree-4.14.0 lib/braintree/test_transaction.rb
braintree-4.13.0 lib/braintree/test_transaction.rb
braintree-4.12.0 lib/braintree/test_transaction.rb
braintree-4.11.0 lib/braintree/test_transaction.rb
braintree-4.10.0 lib/braintree/test_transaction.rb
braintree-4.9.0 lib/braintree/test_transaction.rb
braintree-4.8.0 lib/braintree/test_transaction.rb
braintree-4.7.0 lib/braintree/test_transaction.rb
braintree-4.6.0 lib/braintree/test_transaction.rb
braintree-4.5.0 lib/braintree/test_transaction.rb
braintree-4.4.0 lib/braintree/test_transaction.rb