Class: IdService::Processor

Inherits:
Object
  • Object
show all
Includes:
Helpers, Thrift::Processor
Defined in:
lib/id_service/processor.rb

Instance Method Summary collapse

Instance Method Details

#process_get_id(seqid, iprot, oprot) ⇒ Object



6
7
8
9
10
11
# File 'lib/id_service/processor.rb', line 6

def process_get_id(seqid, iprot, oprot)
  args = read_args(iprot, GetIdArgs)
  result = GetIdResult.new()
  result.success = @handler.get_id()
  write_result(result, oprot, 'get_id', seqid)
end