module SiebelDonations
  class Address < Base

    attr_reader :id, :primary, :seasonal, :address1, :address2, :address3, :address4, :city,
                :state, :zip


    def type
      case @type
      when 'Mailing Address'
        'Mailing'
      else
        @type
      end
    end
  end
end



module SiebelDonations
  class Address < Base

    attr_reader :id, :primary, :seasonal, :address1, :address2, :address3, :address4, :city,
                :state, :zip


    def type
      case @type
      when 'Mailing Address', 'Ship To', 'Ma', 'Mailng', 'M', 'Billing', 'Mailin', 'Mailig'
        'Mailing'
      else
        @type
      end
    end
  end
end



Add more data corrections for bad Siebel data
Add more data corrections for bad Siebel data