Sha256: 36b0335cb04be217139722971da2293b0c88008d31fc680ae3c7d661263b42e4

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

module Braintree
  class Transaction
    class AddressDetails # :nodoc:
      include BaseModule
      
      attr_reader :first_name, :last_name, :company,
        :street_address, :extended_address, :locality, :region,
        :postal_code, :country_name

      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/address_details.rb
braintree-1.0.0 lib/braintree/transaction/address_details.rb