Sha256: 3c450f6bbfcf3ec621aaeee384958622a02e3a92dd4e971bcae6b0cd874f7c0b
Contents?: true
Size: 740 Bytes
Versions: 8
Compression:
Stored size: 740 Bytes
Contents
module Braintree class PaymentMethodNonceDetailsPayerInfo include BaseModule attr_reader :billing_agreement_id attr_reader :country_code attr_reader :email attr_reader :first_name attr_reader :last_name attr_reader :payer_id def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end 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 end end
Version data entries
8 entries across 8 versions & 1 rubygems