Class: Twitter::Thrift::Endpoint
- Inherits:
-
Object
- Object
- Twitter::Thrift::Endpoint
- 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_fields ⇒ Object
33 |
# File 'lib/gen-rb/thrift.rb', line 33 def struct_fields; FIELDS; end |
#validate ⇒ Object
35 36 |
# File 'lib/gen-rb/thrift.rb', line 35 def validate end |