Class: Service

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

Constant Summary collapse

NAME =
1
METHODS =
2
FULLY_REFLECTED =
3
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  METHODS => {:type => ::Thrift::Types::LIST, :name => 'methods', :element => {:type => ::Thrift::Types::STRUCT, :class => Method}},
  FULLY_REFLECTED => {:type => ::Thrift::Types::BOOL, :name => 'fully_reflected'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



143
# File 'lib/thrift/reflection_limited_types.rb', line 143

def struct_fields; FIELDS; end

#validateObject



145
146
# File 'lib/thrift/reflection_limited_types.rb', line 145

def validate
end