class WcoEmail::EmailFilterCondition

def to_s

def to_s
  "<EFC #{field} #{operator} #{value} />"
end

def to_s_full indent: 0

def to_s_full indent: 0
  _value = value
  if [ OPERATOR_HAS_TAG, OPERATOR_NOT_HAS_TAG ].include?( operator )
    _value = Wco::Tag.find( value )
  end
  "#{" " * indent }<EmailFilterCondition #{field} #{operator} `#{_value}` />\n"
end