Class: Wordfilter::Thrift::PartResult

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/wordfilter_types.rb

Overview

当同时检测多种文本时,返回具体某种文本出错

Constant Summary collapse

ERROR =
1
PART =
2
FIELDS =
{
  ERROR => {:type => ::Thrift::Types::I32, :name => 'error'},
  PART => {:type => ::Thrift::Types::STRING, :name => 'part', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



22
# File 'lib/wordfilter_types.rb', line 22

def struct_fields; FIELDS; end

#validateObject



24
25
# File 'lib/wordfilter_types.rb', line 24

def validate
end