Class: Method

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

Constant Summary collapse

NAME =
1
RETURN_TYPE =
2
ARGUMENTS =
3
FIELDS =
{
  NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
  RETURN_TYPE => {:type => ::Thrift::Types::STRUCT, :name => 'return_type', :class => ThriftType},
  ARGUMENTS => {:type => ::Thrift::Types::LIST, :name => 'arguments', :element => {:type => ::Thrift::Types::STRUCT, :class => Argument}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



125
126
# File 'lib/thrift/reflection_limited_types.rb', line 125

def validate
end