class Braintree::PaymentMethodNonceDetailsPayerInfo
Attributes
Public Class Methods
Source
# File lib/braintree/payment_method_nonce_details_payer_info.rb, line 12 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end
Public Instance Methods
Source
# File lib/braintree/payment_method_nonce_details_payer_info.rb, line 16 def inspect attr_order = [ :billing_agreement_id, :country_code, :email, :first_name, :last_name, :payer_id, ] formatted_attrs = attr_order.map do |attr| "#{attr}: #{send(attr).inspect}" end "#<PaymentMethodNonceDetailsPayerInfo #{formatted_attrs.join(", ")}>" end