Class: Argument

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

Constant Summary collapse

KEY =
1
NAME =
2
TYPE =
3
FIELDS =
{
  KEY => {:type => ::Thrift::Types::I16, :name => 'key'},
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  TYPE => {:type => ::Thrift::Types::STRUCT, :name => 'type', :class => ThriftType}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



105
106
# File 'lib/thrift/reflection_limited_types.rb', line 105

def validate
end