class ChannelService::Processor

Public Instance Methods

process_approveChannelAndIssueChannelToken(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 289
def process_approveChannelAndIssueChannelToken(seqid, iprot, oprot)
  args = read_args(iprot, ApproveChannelAndIssueChannelToken_args)
  result = ApproveChannelAndIssueChannelToken_result.new()
  @handler.approveChannelAndIssueChannelToken(args.channelId)
  write_result(result, oprot, 'approveChannelAndIssueChannelToken', seqid)
end
process_getApprovedChannels(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 238
def process_getApprovedChannels(seqid, iprot, oprot)
  args = read_args(iprot, GetApprovedChannels_args)
  result = GetApprovedChannels_result.new()
  begin
    result.success = @handler.getApprovedChannels(args.lastSynced, args.locale)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'getApprovedChannels', seqid)
end
process_getChannelInfo(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 296
def process_getChannelInfo(seqid, iprot, oprot)
  args = read_args(iprot, GetChannelInfo_args)
  result = GetChannelInfo_result.new()
  begin
    result.success = @handler.getChannelInfo(args.channelId, args.locale)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'getChannelInfo', seqid)
end
process_getChannelNotificationSettings(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 307
def process_getChannelNotificationSettings(seqid, iprot, oprot)
  args = read_args(iprot, GetChannelNotificationSettings_args)
  result = GetChannelNotificationSettings_result.new()
  begin
    result.success = @handler.getChannelNotificationSettings(args.locale)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'getChannelNotificationSettings', seqid)
end
process_getChannelSettings(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 249
def process_getChannelSettings(seqid, iprot, oprot)
  args = read_args(iprot, GetChannelSettings_args)
  result = GetChannelSettings_result.new()
  begin
    result.success = @handler.getChannelSettings()
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'getChannelSettings', seqid)
end
process_getCommonDomains(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 318
def process_getCommonDomains(seqid, iprot, oprot)
  args = read_args(iprot, GetCommonDomains_args)
  result = GetCommonDomains_result.new()
  begin
    result.success = @handler.getCommonDomains(args.lastSynced)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'getCommonDomains', seqid)
end
process_getReturnUrlWithRequestTokenForAutoLogin(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 260
def process_getReturnUrlWithRequestTokenForAutoLogin(seqid, iprot, oprot)
  args = read_args(iprot, GetReturnUrlWithRequestTokenForAutoLogin_args)
  result = GetReturnUrlWithRequestTokenForAutoLogin_result.new()
  begin
    result.success = @handler.getReturnUrlWithRequestTokenForAutoLogin(args.webLoginRequest)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'getReturnUrlWithRequestTokenForAutoLogin', seqid)
end
process_getUpdatedChannelIds(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 329
def process_getUpdatedChannelIds(seqid, iprot, oprot)
  args = read_args(iprot, GetUpdatedChannelIds_args)
  result = GetUpdatedChannelIds_result.new()
  begin
    result.success = @handler.getUpdatedChannelIds(args.channelIds)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'getUpdatedChannelIds', seqid)
end
process_getWebLoginDisallowedUrl(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 271
def process_getWebLoginDisallowedUrl(seqid, iprot, oprot)
  args = read_args(iprot, GetWebLoginDisallowedUrl_args)
  result = GetWebLoginDisallowedUrl_result.new()
  begin
    result.success = @handler.getWebLoginDisallowedUrl(args.webLoginRequest)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'getWebLoginDisallowedUrl', seqid)
end
process_issueChannelToken(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 340
def process_issueChannelToken(seqid, iprot, oprot)
  args = read_args(iprot, IssueChannelToken_args)
  result = IssueChannelToken_result.new()
  begin
    result.success = @handler.issueChannelToken(args.channelId)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'issueChannelToken', seqid)
end
process_issueRequestTokenWithAuthScheme(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 351
def process_issueRequestTokenWithAuthScheme(seqid, iprot, oprot)
  args = read_args(iprot, IssueRequestTokenWithAuthScheme_args)
  result = IssueRequestTokenWithAuthScheme_result.new()
  begin
    result.success = @handler.issueRequestTokenWithAuthScheme(args.channelId, args.otpId, args.authScheme, args.returnUrl)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'issueRequestTokenWithAuthScheme', seqid)
end
process_reserveCoinUse(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 362
def process_reserveCoinUse(seqid, iprot, oprot)
  args = read_args(iprot, ReserveCoinUse_args)
  result = ReserveCoinUse_result.new()
  begin
    result.success = @handler.reserveCoinUse(args.request, args.locale)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'reserveCoinUse', seqid)
end
process_updateChannelNotificationSetting(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 373
def process_updateChannelNotificationSetting(seqid, iprot, oprot)
  args = read_args(iprot, UpdateChannelNotificationSetting_args)
  result = UpdateChannelNotificationSetting_result.new()
  begin
    @handler.updateChannelNotificationSetting(args.setting)
  rescue ::ChannelException => e
    result.e = e
  end
  write_result(result, oprot, 'updateChannelNotificationSetting', seqid)
end
process_updateChannelSettings(seqid, iprot, oprot) click to toggle source
# File lib/linerb/gen-rb/channel_service.rb, line 282
def process_updateChannelSettings(seqid, iprot, oprot)
  args = read_args(iprot, UpdateChannelSettings_args)
  result = UpdateChannelSettings_result.new()
  @handler.updateChannelSettings(args.channelSettings)
  write_result(result, oprot, 'updateChannelSettings', seqid)
end