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



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



--- 
+++ 
@@ -7,7 +7,7 @@
 
     def type
       case @type
-      when 'Mailing Address'
+      when 'Mailing Address', 'Ship To', 'Ma', 'Mailng', 'M', 'Billing', 'Mailin', 'Mailig'
         'Mailing'
       else
         @type
Add more data corrections for bad Siebel data