Class: Elastictastic::Thrift::Rest::Processor
- Inherits:
-
Object
- Object
- Elastictastic::Thrift::Rest::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/elastictastic/thrift/rest.rb
Instance Method Summary collapse
Instance Method Details
#process_execute(seqid, iprot, oprot) ⇒ Object
36 37 38 39 40 41 |
# File 'lib/elastictastic/thrift/rest.rb', line 36 def process_execute(seqid, iprot, oprot) args = read_args(iprot, Execute_args) result = Execute_result.new() result.success = @handler.execute(args.request) write_result(result, oprot, 'execute', seqid) end |