1module PostcodeSanitizer
 
2  def self.call(postcode)
 
3    postcode.to_s.gsub(/\s+|-+|+|+/, "").upcase
 
4  end
 
5end