# File lib/braintree/transaction.rb, line 179 def self.refund!(id, amount = nil) return_object_or_raise(:transaction) { refund(id, amount) } end