Class: Radar::API::FundService::Processor
- Inherits:
-
Object
- Object
- Radar::API::FundService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/radar/api/fund_service.rb
Instance Method Summary collapse
- #process_daily_data(seqid, iprot, oprot) ⇒ Object
- #process_name(seqid, iprot, oprot) ⇒ Object
- #process_short_name(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_daily_data(seqid, iprot, oprot) ⇒ Object
80 81 82 83 84 85 |
# File 'lib/radar/api/fund_service.rb', line 80 def process_daily_data(seqid, iprot, oprot) args = read_args(iprot, Daily_data_args) result = Daily_data_result.new() result.success = @handler.daily_data(args.id, args.date) write_result(result, oprot, 'daily_data', seqid) end |
#process_name(seqid, iprot, oprot) ⇒ Object
66 67 68 69 70 71 |
# File 'lib/radar/api/fund_service.rb', line 66 def process_name(seqid, iprot, oprot) args = read_args(iprot, Name_args) result = Name_result.new() result.success = @handler.name(args.id) write_result(result, oprot, 'name', seqid) end |
#process_short_name(seqid, iprot, oprot) ⇒ Object
73 74 75 76 77 78 |
# File 'lib/radar/api/fund_service.rb', line 73 def process_short_name(seqid, iprot, oprot) args = read_args(iprot, Short_name_args) result = Short_name_result.new() result.success = @handler.short_name(args.id) write_result(result, oprot, 'short_name', seqid) end |