Class: Twitter::Thrift::Endpoint

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

Constant Summary collapse

HOST =
1
PORT =
2
FIELDS =
{
  HOST => {:type => ::Thrift::Types::STRING, :name => 'host'},
  PORT => {:type => ::Thrift::Types::I32, :name => 'port'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



33
# File 'lib/gen-rb/thrift.rb', line 33

def struct_fields; FIELDS; end

#validateObject



35
36
# File 'lib/gen-rb/thrift.rb', line 35

def validate
end