class Radar::Api::CalendarService::Processor

Public Instance Methods

process_advance(seqid, iprot, oprot) click to toggle source
# File gen/radar/api/calendar_service.rb, line 66
def process_advance(seqid, iprot, oprot)
  args = read_args(iprot, Advance_args)
  result = Advance_result.new()
  result.success = @handler.advance(args.calendar, args.date, args.n)
  write_result(result, oprot, 'advance', seqid)
end
process_back(seqid, iprot, oprot) click to toggle source
# File gen/radar/api/calendar_service.rb, line 73
def process_back(seqid, iprot, oprot)
  args = read_args(iprot, Back_args)
  result = Back_result.new()
  result.success = @handler.back(args.calendar, args.date, args.n)
  write_result(result, oprot, 'back', seqid)
end
process_first_business_day(seqid, iprot, oprot) click to toggle source
# File gen/radar/api/calendar_service.rb, line 80
def process_first_business_day(seqid, iprot, oprot)
  args = read_args(iprot, First_business_day_args)
  result = First_business_day_result.new()
  result.success = @handler.first_business_day(args.calendar, args.date)
  write_result(result, oprot, 'first_business_day', seqid)
end