lib/braintree/successful_result.rb in braintree-2.80.1 vs lib/braintree/successful_result.rb in braintree-2.81.0
- old
+ new
@@ -1,9 +1,27 @@
module Braintree
class SuccessfulResult
include BaseModule
- attr_reader :address, :credit_card, :customer, :document_upload, :merchant_account, :payment_method, :settlement_batch_summary, :subscription, :new_transaction, :transaction, :payment_method_nonce, :credentials, :merchant, :supported_networks, :paypal_account, :merchant_accounts, :disputes, :evidence, :apple_pay_options
+ attr_reader :address
+ attr_reader :apple_pay_options
+ attr_reader :credentials
+ attr_reader :credit_card
+ attr_reader :customer
+ attr_reader :disputes
+ attr_reader :document_upload
+ attr_reader :evidence
+ attr_reader :merchant
+ attr_reader :merchant_account
+ attr_reader :merchant_accounts
+ attr_reader :new_transaction
+ attr_reader :payment_method
+ attr_reader :payment_method_nonce
+ attr_reader :paypal_account
+ attr_reader :settlement_batch_summary
+ attr_reader :subscription
+ attr_reader :supported_networks
+ attr_reader :transaction
def initialize(attributes = {}) # :nodoc:
@attrs = attributes.keys
attributes.each do |key, value|
instance_variable_set("@#{key}", value)