lib/braintree/us_bank_account.rb in braintree-3.3.0 vs lib/braintree/us_bank_account.rb in braintree-3.4.0

- old
+ new

@@ -33,21 +33,21 @@ class << self protected :new end def self._new(*args) # :nodoc: - self.new *args + self.new(*args) end def self.find(*args) Configuration.gateway.us_bank_account.find(*args) end def self.sale(token, transaction_attributes) Configuration.gateway.transaction.sale(transaction_attributes.merge( :payment_method_token => token, - :options => { :submit_for_settlement => true } - ) + :options => {:submit_for_settlement => true}, + ), ) end def self.sale!(token, transaction_attributes) return_object_or_raise(:transaction) { sale(token, transaction_attributes) }