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
92 93 94 95 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 92 def approveChannelAndIssueChannelToken(channelId) send_approveChannelAndIssueChannelToken(channelId) 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
106 107 108 109 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 106 def getChannelInfo(channelId, locale) send_getChannelInfo(channelId, locale) return recv_getChannelInfo() end |
#getChannelNotificationSettings(locale) ⇒ Object
122 123 124 125 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 122 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
138 139 140 141 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 138 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
154 155 156 157 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 154 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
170 171 172 173 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 170 def issueChannelToken(channelId) send_issueChannelToken(channelId) return recv_issueChannelToken() end |
#issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) ⇒ Object
186 187 188 189 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 186 def issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) return recv_issueRequestTokenWithAuthScheme() end |
#recv_approveChannelAndIssueChannelToken ⇒ Object
101 102 103 104 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 101 def recv_approveChannelAndIssueChannelToken() result = (ApproveChannelAndIssueChannelToken_result) return 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
115 116 117 118 119 120 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 115 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
131 132 133 134 135 136 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 131 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
147 148 149 150 151 152 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 147 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
163 164 165 166 167 168 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 163 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
179 180 181 182 183 184 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 179 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
195 196 197 198 199 200 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 195 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
211 212 213 214 215 216 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 211 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
227 228 229 230 231 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 227 def recv_updateChannelNotificationSetting() result = (UpdateChannelNotificationSetting_result) raise result.e unless result.e.nil? return end |
#recv_updateChannelSettings ⇒ Object
87 88 89 90 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 87 def recv_updateChannelSettings() result = (UpdateChannelSettings_result) return end |
#reserveCoinUse(request, locale) ⇒ Object
202 203 204 205 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 202 def reserveCoinUse(request, locale) send_reserveCoinUse(request, locale) return recv_reserveCoinUse() end |
#send_approveChannelAndIssueChannelToken(channelId) ⇒ Object
97 98 99 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 97 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
111 112 113 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 111 def send_getChannelInfo(channelId, locale) ('getChannelInfo', GetChannelInfo_args, :channelId => channelId, :locale => locale) end |
#send_getChannelNotificationSettings(locale) ⇒ Object
127 128 129 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 127 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
143 144 145 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 143 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
159 160 161 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 159 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
175 176 177 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 175 def send_issueChannelToken(channelId) ('issueChannelToken', IssueChannelToken_args, :channelId => channelId) end |
#send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) ⇒ Object
191 192 193 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 191 def send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl) ('issueRequestTokenWithAuthScheme', IssueRequestTokenWithAuthScheme_args, :channelId => channelId, :otpId => otpId, :authScheme => authScheme, :returnUrl => returnUrl) end |
#send_reserveCoinUse(request, locale) ⇒ Object
207 208 209 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 207 def send_reserveCoinUse(request, locale) ('reserveCoinUse', ReserveCoinUse_args, :request => request, :locale => locale) end |
#send_updateChannelNotificationSetting(setting) ⇒ Object
223 224 225 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 223 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
218 219 220 221 |
# File 'lib/linerb/gen-rb/channel_service.rb', line 218 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 |