Sha256: 4842ce7d689fc8084369850620be9d279634895cffd7cf7b5766999e5867bb39

Contents?: true

Size: 393 Bytes

Versions: 10

Compression:

Stored size: 393 Bytes

Contents

module Braintree
  class Transaction
    class AddressDetails # :nodoc:
      include BaseModule

      attr_reader :id, :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

10 entries across 10 versions & 1 rubygems

Version Path
braintree-2.3.1 lib/braintree/transaction/address_details.rb
braintree-2.2.0 lib/braintree/transaction/address_details.rb
braintree-2.1.0 lib/braintree/transaction/address_details.rb
braintree-2.0.0 lib/braintree/transaction/address_details.rb
braintree-1.2.1 lib/braintree/transaction/address_details.rb
braintree-1.2.0 lib/braintree/transaction/address_details.rb
braintree-1.1.3 lib/braintree/transaction/address_details.rb
braintree-1.1.2 lib/braintree/transaction/address_details.rb
braintree-1.1.1 lib/braintree/transaction/address_details.rb
braintree-1.1.0 lib/braintree/transaction/address_details.rb