lib/braintree/successful_result.rb in braintree-2.31.0 vs lib/braintree/successful_result.rb in braintree-2.32.1
- old
+ new
@@ -1,10 +1,10 @@
module Braintree
# See http://www.braintreepayments.com/docs/ruby/general/result_objects
class SuccessfulResult
include BaseModule
- attr_reader :address, :credit_card, :customer, :merchant_account, :settlement_batch_summary, :subscription, :new_transaction, :transaction
+ attr_reader :address, :credit_card, :customer, :merchant_account, :payment_method, :settlement_batch_summary, :subscription, :new_transaction, :transaction
def initialize(attributes = {}) # :nodoc:
@attrs = attributes.keys
attributes.each do |key, value|
instance_variable_set("@#{key}", value)