Sha256: 0b3dd834795fd8fa2e0e56df86146695fcd9ee8e22ae1948a740c1e570336314

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

module Braintree
  class Transaction
    class CustomerDetails # :nodoc:
      include BaseModule
      
      attr_reader :company, :email, :fax, :first_name, :id, :last_name, :phone, :website

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
braintree-1.0.1 lib/braintree/transaction/customer_details.rb
braintree-1.0.0 lib/braintree/transaction/customer_details.rb