module MITS::V4_1::Mapper::AddressMapper

Private Instance Methods

address_attributes(tag) click to toggle source
# File lib/mits/v4.1/mapper/address_mapper.rb, line 11
def address_attributes(tag)
  {
    address1:         tag[:AddressLine1],
    address2:         tag[:AddressLine2],
    city:             tag[:City],
    country:          tag[:Country],
    country_name:     tag[:CountyName],
    description:      tag[:Description],
    postal_code:      tag[:PostalCode],
    province:         tag[:Province],
    state:            tag[:State],
    type:             tag[:AddressType],
    unparsed_address: tag[:UnparsedAddress]
  }
end