Method: Braintree::TestingGateway#settlement_pending

Defined in:
lib/braintree/testing_gateway.rb

#settlement_pending(transaction_id) ⇒ Object



32
33
34
35
36
37
# File 'lib/braintree/testing_gateway.rb', line 32

def settlement_pending(transaction_id)
  check_environment

  response = @config.http.put("#{@config.base_merchant_path}/transactions/#{transaction_id}/settlement_pending")
  @transaction_gateway._handle_transaction_response(response)
end