def process(data, type)
      raise InvalidType, 'Type is invalid!' unless FORMATS.include?(type)
      send("process_#{type}".to_sym, data.to_s)
    end
def process(data, type)
      raise InvalidType, 'Type is invalid!' unless FORMATS.include?(type)
      send("process_#{type}".to_sym, data.to_s)
    end
Process data value for the format