Class: ChannelService::Client
- Inherits:
-
Object
- Object
- ChannelService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/linerb/gen-rb/channel_service.rb
Instance Method Summary collapse
- #approveChannelAndIssueChannelToken(channelId) ⇒ Object
- #getApprovedChannels(lastSynced, locale) ⇒ Object
- #getChannelInfo(channelId, locale) ⇒ Object
- #getChannelNotificationSettings(locale) ⇒ Object
- #getChannelSettings ⇒ Object
- #getCommonDomains(lastSynced) ⇒ Object
- #getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest) ⇒ Object
- #getUpdatedChannelIds(channelIds) ⇒ Object
- #getWebLoginDisallowedUrl(webLoginRequest) ⇒ Object
- #issueChannelToken(channelId) ⇒ Object
- #issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) ⇒ Object
- #recv_approveChannelAndIssueChannelToken ⇒ Object
- #recv_getApprovedChannels ⇒ Object
- #recv_getChannelInfo ⇒ Object
- #recv_getChannelNotificationSettings ⇒ Object
- #recv_getChannelSettings ⇒ Object
- #recv_getCommonDomains ⇒ Object
- #recv_getReturnUrlWithRequestTokenForAutoLogin ⇒ Object
- #recv_getUpdatedChannelIds ⇒ Object
- #recv_getWebLoginDisallowedUrl ⇒ Object
- #recv_issueChannelToken ⇒ Object
- #recv_issueRequestTokenWithAuthScheme ⇒ Object
- #recv_reserveCoinUse ⇒ Object
- #recv_updateChannelNotificationSetting ⇒ Object
- #recv_updateChannelSettings ⇒ Object
- #reserveCoinUse(request, locale) ⇒ Object
- #send_approveChannelAndIssueChannelToken(channelId) ⇒ Object
- #send_getApprovedChannels(lastSynced, locale) ⇒ Object
- #send_getChannelInfo(channelId, locale) ⇒ Object
- #send_getChannelNotificationSettings(locale) ⇒ Object
- #send_getChannelSettings ⇒ Object
- #send_getCommonDomains(lastSynced) ⇒ Object
- #send_getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest) ⇒ Object
- #send_getUpdatedChannelIds(channelIds) ⇒ Object
- #send_getWebLoginDisallowedUrl(webLoginRequest) ⇒ Object
- #send_issueChannelToken(channelId) ⇒ Object
- #send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) ⇒ Object
- #send_reserveCoinUse(request, locale) ⇒ Object
- #send_updateChannelNotificationSetting(setting) ⇒ Object
- #send_updateChannelSettings(channelSettings) ⇒ Object
- #updateChannelNotificationSetting(setting) ⇒ Object
- #updateChannelSettings(channelSettings) ⇒ Object
Instance Method Details
#approveChannelAndIssueChannelToken(channelId) ⇒ Object
93 94 95 96 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 93 def approveChannelAndIssueChannelToken(channelId) send_approveChannelAndIssueChannelToken(channelId) return recv_approveChannelAndIssueChannelToken() end |
#getApprovedChannels(lastSynced, locale) ⇒ Object
14 15 16 17 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 14 def getApprovedChannels(lastSynced, locale) send_getApprovedChannels(lastSynced, locale) return recv_getApprovedChannels() end |
#getChannelInfo(channelId, locale) ⇒ Object
109 110 111 112 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 109 def getChannelInfo(channelId, locale) send_getChannelInfo(channelId, locale) return recv_getChannelInfo() end |
#getChannelNotificationSettings(locale) ⇒ Object
125 126 127 128 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 125 def getChannelNotificationSettings(locale) send_getChannelNotificationSettings(locale) return recv_getChannelNotificationSettings() end |
#getChannelSettings ⇒ Object
30 31 32 33 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 30 def getChannelSettings() send_getChannelSettings() return recv_getChannelSettings() end |
#getCommonDomains(lastSynced) ⇒ Object
141 142 143 144 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 141 def getCommonDomains(lastSynced) send_getCommonDomains(lastSynced) return recv_getCommonDomains() end |
#getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest) ⇒ Object
46 47 48 49 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 46 def getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest) send_getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest) return recv_getReturnUrlWithRequestTokenForAutoLogin() end |
#getUpdatedChannelIds(channelIds) ⇒ Object
157 158 159 160 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 157 def getUpdatedChannelIds(channelIds) send_getUpdatedChannelIds(channelIds) return recv_getUpdatedChannelIds() end |
#getWebLoginDisallowedUrl(webLoginRequest) ⇒ Object
62 63 64 65 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 62 def getWebLoginDisallowedUrl(webLoginRequest) send_getWebLoginDisallowedUrl(webLoginRequest) return recv_getWebLoginDisallowedUrl() end |
#issueChannelToken(channelId) ⇒ Object
173 174 175 176 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 173 def issueChannelToken(channelId) send_issueChannelToken(channelId) return recv_issueChannelToken() end |
#issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) ⇒ Object
189 190 191 192 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 189 def issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) return recv_issueRequestTokenWithAuthScheme() end |
#recv_approveChannelAndIssueChannelToken ⇒ Object
102 103 104 105 106 107 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 102 def recv_approveChannelAndIssueChannelToken() result = (ApproveChannelAndIssueChannelToken_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'approveChannelAndIssueChannelToken failed: unknown result') end |
#recv_getApprovedChannels ⇒ Object
23 24 25 26 27 28 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 23 def recv_getApprovedChannels() result = (GetApprovedChannels_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getApprovedChannels failed: unknown result') end |
#recv_getChannelInfo ⇒ Object
118 119 120 121 122 123 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 118 def recv_getChannelInfo() result = (GetChannelInfo_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getChannelInfo failed: unknown result') end |
#recv_getChannelNotificationSettings ⇒ Object
134 135 136 137 138 139 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 134 def recv_getChannelNotificationSettings() result = (GetChannelNotificationSettings_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getChannelNotificationSettings failed: unknown result') end |
#recv_getChannelSettings ⇒ Object
39 40 41 42 43 44 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 39 def recv_getChannelSettings() result = (GetChannelSettings_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getChannelSettings failed: unknown result') end |
#recv_getCommonDomains ⇒ Object
150 151 152 153 154 155 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 150 def recv_getCommonDomains() result = (GetCommonDomains_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCommonDomains failed: unknown result') end |
#recv_getReturnUrlWithRequestTokenForAutoLogin ⇒ Object
55 56 57 58 59 60 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 55 def recv_getReturnUrlWithRequestTokenForAutoLogin() result = (GetReturnUrlWithRequestTokenForAutoLogin_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getReturnUrlWithRequestTokenForAutoLogin failed: unknown result') end |
#recv_getUpdatedChannelIds ⇒ Object
166 167 168 169 170 171 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 166 def recv_getUpdatedChannelIds() result = (GetUpdatedChannelIds_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getUpdatedChannelIds failed: unknown result') end |
#recv_getWebLoginDisallowedUrl ⇒ Object
71 72 73 74 75 76 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 71 def recv_getWebLoginDisallowedUrl() result = (GetWebLoginDisallowedUrl_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getWebLoginDisallowedUrl failed: unknown result') end |
#recv_issueChannelToken ⇒ Object
182 183 184 185 186 187 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 182 def recv_issueChannelToken() result = (IssueChannelToken_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'issueChannelToken failed: unknown result') end |
#recv_issueRequestTokenWithAuthScheme ⇒ Object
198 199 200 201 202 203 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 198 def recv_issueRequestTokenWithAuthScheme() result = (IssueRequestTokenWithAuthScheme_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'issueRequestTokenWithAuthScheme failed: unknown result') end |
#recv_reserveCoinUse ⇒ Object
214 215 216 217 218 219 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 214 def recv_reserveCoinUse() result = (ReserveCoinUse_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'reserveCoinUse failed: unknown result') end |
#recv_updateChannelNotificationSetting ⇒ Object
230 231 232 233 234 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 230 def recv_updateChannelNotificationSetting() result = (UpdateChannelNotificationSetting_result) raise result.e unless result.e.nil? return end |
#recv_updateChannelSettings ⇒ Object
87 88 89 90 91 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 87 def recv_updateChannelSettings() result = (UpdateChannelSettings_result) raise result.e unless result.e.nil? return end |
#reserveCoinUse(request, locale) ⇒ Object
205 206 207 208 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 205 def reserveCoinUse(request, locale) send_reserveCoinUse(request, locale) return recv_reserveCoinUse() end |
#send_approveChannelAndIssueChannelToken(channelId) ⇒ Object
98 99 100 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 98 def send_approveChannelAndIssueChannelToken(channelId) ('approveChannelAndIssueChannelToken', ApproveChannelAndIssueChannelToken_args, :channelId => channelId) end |
#send_getApprovedChannels(lastSynced, locale) ⇒ Object
19 20 21 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 19 def send_getApprovedChannels(lastSynced, locale) ('getApprovedChannels', GetApprovedChannels_args, :lastSynced => lastSynced, :locale => locale) end |
#send_getChannelInfo(channelId, locale) ⇒ Object
114 115 116 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 114 def send_getChannelInfo(channelId, locale) ('getChannelInfo', GetChannelInfo_args, :channelId => channelId, :locale => locale) end |
#send_getChannelNotificationSettings(locale) ⇒ Object
130 131 132 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 130 def send_getChannelNotificationSettings(locale) ('getChannelNotificationSettings', GetChannelNotificationSettings_args, :locale => locale) end |
#send_getChannelSettings ⇒ Object
35 36 37 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 35 def send_getChannelSettings() ('getChannelSettings', GetChannelSettings_args) end |
#send_getCommonDomains(lastSynced) ⇒ Object
146 147 148 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 146 def send_getCommonDomains(lastSynced) ('getCommonDomains', GetCommonDomains_args, :lastSynced => lastSynced) end |
#send_getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest) ⇒ Object
51 52 53 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 51 def send_getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest) ('getReturnUrlWithRequestTokenForAutoLogin', GetReturnUrlWithRequestTokenForAutoLogin_args, :webLoginRequest => webLoginRequest) end |
#send_getUpdatedChannelIds(channelIds) ⇒ Object
162 163 164 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 162 def send_getUpdatedChannelIds(channelIds) ('getUpdatedChannelIds', GetUpdatedChannelIds_args, :channelIds => channelIds) end |
#send_getWebLoginDisallowedUrl(webLoginRequest) ⇒ Object
67 68 69 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 67 def send_getWebLoginDisallowedUrl(webLoginRequest) ('getWebLoginDisallowedUrl', GetWebLoginDisallowedUrl_args, :webLoginRequest => webLoginRequest) end |
#send_issueChannelToken(channelId) ⇒ Object
178 179 180 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 178 def send_issueChannelToken(channelId) ('issueChannelToken', IssueChannelToken_args, :channelId => channelId) end |
#send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) ⇒ Object
194 195 196 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 194 def send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) ('issueRequestTokenWithAuthScheme', IssueRequestTokenWithAuthScheme_args, :channelId => channelId, :otpId => otpId, :authScheme => authScheme, :returnUrl => returnUrl) end |
#send_reserveCoinUse(request, locale) ⇒ Object
210 211 212 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 210 def send_reserveCoinUse(request, locale) ('reserveCoinUse', ReserveCoinUse_args, :request => request, :locale => locale) end |
#send_updateChannelNotificationSetting(setting) ⇒ Object
226 227 228 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 226 def send_updateChannelNotificationSetting(setting) ('updateChannelNotificationSetting', UpdateChannelNotificationSetting_args, :setting => setting) end |
#send_updateChannelSettings(channelSettings) ⇒ Object
83 84 85 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 83 def send_updateChannelSettings(channelSettings) ('updateChannelSettings', UpdateChannelSettings_args, :channelSettings => channelSettings) end |
#updateChannelNotificationSetting(setting) ⇒ Object
221 222 223 224 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 221 def updateChannelNotificationSetting(setting) send_updateChannelNotificationSetting(setting) recv_updateChannelNotificationSetting() end |
#updateChannelSettings(channelSettings) ⇒ Object
78 79 80 81 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 78 def updateChannelSettings(channelSettings) send_updateChannelSettings(channelSettings) recv_updateChannelSettings() end |