lib/braintree/ideal_payment.rb in braintree-2.83.0 vs lib/braintree/ideal_payment.rb in braintree-2.84.0
- old
+ new
@@ -26,13 +26,13 @@
self.new *args
end
def self.sale(ideal_payment_id, transaction_attributes)
Configuration.gateway.transaction.sale(transaction_attributes.merge(
- :payment_method_nonce => ideal_payment_id,
- :options => { :submit_for_settlement => true }
- )
+ :payment_method_nonce => ideal_payment_id,
+ :options => { :submit_for_settlement => true }
)
+ )
end
def self.sale!(ideal_payment_id, transaction_attributes)
return_object_or_raise(:transaction) { sale(ideal_payment_id, transaction_attributes) }
end