class Braintree::SuccessfulResult

Attributes

address[R]
apple_pay_options[R]
credentials[R]
credit_card[R]
credit_card_verification[R]
customer[R]
disputes[R]
document_upload[R]
evidence[R]
exchange_rate_quote_payload[R]
merchant[R]
merchant_account[R]
merchant_accounts[R]
payment_method[R]
payment_method_nonce[R]
paypal_account[R]
plan[R]
settlement_batch_summary[R]
subscription[R]
supported_networks[R]
transaction[R]
us_bank_account_verification[R]

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/braintree/successful_result.rb, line 28
def initialize(attributes = {})
  @attrs = attributes.keys
  attributes.each do |key, value|
    instance_variable_set("@#{key}", value)
  end
  @credit_card_verification = @verification
end

Public Instance Methods

inspect() click to toggle source
# File lib/braintree/successful_result.rb, line 36
def inspect
  inspected_attributes = @attrs.map { |attr| "#{attr}:#{send(attr).inspect}" }
  "#<#{self.class} #{inspected_attributes.join(" ")}>"
end
success?() click to toggle source
# File lib/braintree/successful_result.rb, line 41
def success?
  true
end