Class: CallService::Client

Inherits:
Object
  • Object
show all
Includes:
Thrift::Client
Defined in:
lib/linerb/gen-rb/call_service.rb

Instance Method Summary collapse

Instance Method Details

#createGroupCallUrl(request) ⇒ Object



62
63
64
65
# File 'lib/linerb/gen-rb/call_service.rb', line 62

def createGroupCallUrl(request)
  send_createGroupCallUrl(request)
  return recv_createGroupCallUrl()
end

#deleteGroupCallUrl(request) ⇒ Object



78
79
80
81
# File 'lib/linerb/gen-rb/call_service.rb', line 78

def deleteGroupCallUrl(request)
  send_deleteGroupCallUrl(request)
  recv_deleteGroupCallUrl()
end

#getCallCreditProducts(appStoreCode, pgCode, country, language) ⇒ Object



140
141
142
143
# File 'lib/linerb/gen-rb/call_service.rb', line 140

def getCallCreditProducts(appStoreCode, pgCode, country, language)
  send_getCallCreditProducts(appStoreCode, pgCode, country, language)
  return recv_getCallCreditProducts()
end

#getCallCreditPurchaseHistory(request) ⇒ Object



108
109
110
111
# File 'lib/linerb/gen-rb/call_service.rb', line 108

def getCallCreditPurchaseHistory(request)
  send_getCallCreditPurchaseHistory(request)
  return recv_getCallCreditPurchaseHistory()
end

#getGroupCallUrlInfo(request) ⇒ Object



14
15
16
17
# File 'lib/linerb/gen-rb/call_service.rb', line 14

def getGroupCallUrlInfo(request)
  send_getGroupCallUrlInfo(request)
  return recv_getGroupCallUrlInfo()
end

#getGroupCallUrls(request) ⇒ Object



30
31
32
33
# File 'lib/linerb/gen-rb/call_service.rb', line 30

def getGroupCallUrls(request)
  send_getGroupCallUrls(request)
  return recv_getGroupCallUrls()
end

#getPaidCallBalanceList(language) ⇒ Object



172
173
174
175
# File 'lib/linerb/gen-rb/call_service.rb', line 172

def getPaidCallBalanceList(language)
  send_getPaidCallBalanceList(language)
  return recv_getPaidCallBalanceList()
end

#getPaidCallMetadata(language) ⇒ Object



156
157
158
159
# File 'lib/linerb/gen-rb/call_service.rb', line 156

def (language)
  (language)
  return ()
end

#joinChatByCallUrl(request) ⇒ Object



46
47
48
49
# File 'lib/linerb/gen-rb/call_service.rb', line 46

def joinChatByCallUrl(request)
  send_joinChatByCallUrl(request)
  return recv_joinChatByCallUrl()
end

#lookupPaidCall(dialedNumber, language, referer) ⇒ Object



204
205
206
207
# File 'lib/linerb/gen-rb/call_service.rb', line 204

def lookupPaidCall(dialedNumber, language, referer)
  send_lookupPaidCall(dialedNumber, language, referer)
  return recv_lookupPaidCall()
end

#recv_createGroupCallUrlObject

Raises:

  • (::Thrift::ApplicationException)


71
72
73
74
75
76
# File 'lib/linerb/gen-rb/call_service.rb', line 71

def recv_createGroupCallUrl()
  result = receive_message(CreateGroupCallUrl_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createGroupCallUrl failed: unknown result')
end

#recv_deleteGroupCallUrlObject



87
88
89
90
# File 'lib/linerb/gen-rb/call_service.rb', line 87

def recv_deleteGroupCallUrl()
  result = receive_message(DeleteGroupCallUrl_result)
  return
end

#recv_getCallCreditProductsObject

Raises:

  • (::Thrift::ApplicationException)


149
150
151
152
153
154
# File 'lib/linerb/gen-rb/call_service.rb', line 149

def recv_getCallCreditProducts()
  result = receive_message(GetCallCreditProducts_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCallCreditProducts failed: unknown result')
end

#recv_getCallCreditPurchaseHistoryObject

Raises:

  • (::Thrift::ApplicationException)


117
118
119
120
121
122
# File 'lib/linerb/gen-rb/call_service.rb', line 117

def recv_getCallCreditPurchaseHistory()
  result = receive_message(GetCallCreditPurchaseHistory_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCallCreditPurchaseHistory failed: unknown result')
end

#recv_getGroupCallUrlInfoObject

Raises:

  • (::Thrift::ApplicationException)


23
24
25
26
27
28
# File 'lib/linerb/gen-rb/call_service.rb', line 23

def recv_getGroupCallUrlInfo()
  result = receive_message(GetGroupCallUrlInfo_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getGroupCallUrlInfo failed: unknown result')
end

#recv_getGroupCallUrlsObject

Raises:

  • (::Thrift::ApplicationException)


39
40
41
42
43
44
# File 'lib/linerb/gen-rb/call_service.rb', line 39

def recv_getGroupCallUrls()
  result = receive_message(GetGroupCallUrls_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getGroupCallUrls failed: unknown result')
end

#recv_getPaidCallBalanceListObject

Raises:

  • (::Thrift::ApplicationException)


181
182
183
184
185
186
# File 'lib/linerb/gen-rb/call_service.rb', line 181

def recv_getPaidCallBalanceList()
  result = receive_message(GetPaidCallBalanceList_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPaidCallBalanceList failed: unknown result')
end

#recv_getPaidCallMetadataObject

Raises:

  • (::Thrift::ApplicationException)


165
166
167
168
169
170
# File 'lib/linerb/gen-rb/call_service.rb', line 165

def ()
  result = receive_message(GetPaidCallMetadata_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPaidCallMetadata failed: unknown result')
end

#recv_joinChatByCallUrlObject

Raises:

  • (::Thrift::ApplicationException)


55
56
57
58
59
60
# File 'lib/linerb/gen-rb/call_service.rb', line 55

def recv_joinChatByCallUrl()
  result = receive_message(JoinChatByCallUrl_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'joinChatByCallUrl failed: unknown result')
end

#recv_lookupPaidCallObject

Raises:

  • (::Thrift::ApplicationException)


213
214
215
216
217
218
# File 'lib/linerb/gen-rb/call_service.rb', line 213

def recv_lookupPaidCall()
  result = receive_message(LookupPaidCall_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'lookupPaidCall failed: unknown result')
end

#recv_redeemPaidCallVoucherObject

Raises:

  • (::Thrift::ApplicationException)


133
134
135
136
137
138
# File 'lib/linerb/gen-rb/call_service.rb', line 133

def recv_redeemPaidCallVoucher()
  result = receive_message(RedeemPaidCallVoucher_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'redeemPaidCallVoucher failed: unknown result')
end

#recv_searchPaidCallUserRateObject

Raises:

  • (::Thrift::ApplicationException)


197
198
199
200
201
202
# File 'lib/linerb/gen-rb/call_service.rb', line 197

def recv_searchPaidCallUserRate()
  result = receive_message(SearchPaidCallUserRate_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'searchPaidCallUserRate failed: unknown result')
end

#recv_updateGroupCallUrlObject

Raises:

  • (::Thrift::ApplicationException)


101
102
103
104
105
106
# File 'lib/linerb/gen-rb/call_service.rb', line 101

def recv_updateGroupCallUrl()
  result = receive_message(UpdateGroupCallUrl_result)
  return result.success unless result.success.nil?
  raise result.e unless result.e.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateGroupCallUrl failed: unknown result')
end

#redeemPaidCallVoucher(serial, language) ⇒ Object



124
125
126
127
# File 'lib/linerb/gen-rb/call_service.rb', line 124

def redeemPaidCallVoucher(serial, language)
  send_redeemPaidCallVoucher(serial, language)
  return recv_redeemPaidCallVoucher()
end

#searchPaidCallUserRate(countryCode, language) ⇒ Object



188
189
190
191
# File 'lib/linerb/gen-rb/call_service.rb', line 188

def searchPaidCallUserRate(countryCode, language)
  send_searchPaidCallUserRate(countryCode, language)
  return recv_searchPaidCallUserRate()
end

#send_createGroupCallUrl(request) ⇒ Object



67
68
69
# File 'lib/linerb/gen-rb/call_service.rb', line 67

def send_createGroupCallUrl(request)
  send_message('createGroupCallUrl', CreateGroupCallUrl_args, :request => request)
end

#send_deleteGroupCallUrl(request) ⇒ Object



83
84
85
# File 'lib/linerb/gen-rb/call_service.rb', line 83

def send_deleteGroupCallUrl(request)
  send_message('deleteGroupCallUrl', DeleteGroupCallUrl_args, :request => request)
end

#send_getCallCreditProducts(appStoreCode, pgCode, country, language) ⇒ Object



145
146
147
# File 'lib/linerb/gen-rb/call_service.rb', line 145

def send_getCallCreditProducts(appStoreCode, pgCode, country, language)
  send_message('getCallCreditProducts', GetCallCreditProducts_args, :appStoreCode => appStoreCode, :pgCode => pgCode, :country => country, :language => language)
end

#send_getCallCreditPurchaseHistory(request) ⇒ Object



113
114
115
# File 'lib/linerb/gen-rb/call_service.rb', line 113

def send_getCallCreditPurchaseHistory(request)
  send_message('getCallCreditPurchaseHistory', GetCallCreditPurchaseHistory_args, :request => request)
end

#send_getGroupCallUrlInfo(request) ⇒ Object



19
20
21
# File 'lib/linerb/gen-rb/call_service.rb', line 19

def send_getGroupCallUrlInfo(request)
  send_message('getGroupCallUrlInfo', GetGroupCallUrlInfo_args, :request => request)
end

#send_getGroupCallUrls(request) ⇒ Object



35
36
37
# File 'lib/linerb/gen-rb/call_service.rb', line 35

def send_getGroupCallUrls(request)
  send_message('getGroupCallUrls', GetGroupCallUrls_args, :request => request)
end

#send_getPaidCallBalanceList(language) ⇒ Object



177
178
179
# File 'lib/linerb/gen-rb/call_service.rb', line 177

def send_getPaidCallBalanceList(language)
  send_message('getPaidCallBalanceList', GetPaidCallBalanceList_args, :language => language)
end

#send_getPaidCallMetadata(language) ⇒ Object



161
162
163
# File 'lib/linerb/gen-rb/call_service.rb', line 161

def (language)
  send_message('getPaidCallMetadata', GetPaidCallMetadata_args, :language => language)
end

#send_joinChatByCallUrl(request) ⇒ Object



51
52
53
# File 'lib/linerb/gen-rb/call_service.rb', line 51

def send_joinChatByCallUrl(request)
  send_message('joinChatByCallUrl', JoinChatByCallUrl_args, :request => request)
end

#send_lookupPaidCall(dialedNumber, language, referer) ⇒ Object



209
210
211
# File 'lib/linerb/gen-rb/call_service.rb', line 209

def send_lookupPaidCall(dialedNumber, language, referer)
  send_message('lookupPaidCall', LookupPaidCall_args, :dialedNumber => dialedNumber, :language => language, :referer => referer)
end

#send_redeemPaidCallVoucher(serial, language) ⇒ Object



129
130
131
# File 'lib/linerb/gen-rb/call_service.rb', line 129

def send_redeemPaidCallVoucher(serial, language)
  send_message('redeemPaidCallVoucher', RedeemPaidCallVoucher_args, :serial => serial, :language => language)
end

#send_searchPaidCallUserRate(countryCode, language) ⇒ Object



193
194
195
# File 'lib/linerb/gen-rb/call_service.rb', line 193

def send_searchPaidCallUserRate(countryCode, language)
  send_message('searchPaidCallUserRate', SearchPaidCallUserRate_args, :countryCode => countryCode, :language => language)
end

#send_updateGroupCallUrl(request) ⇒ Object



97
98
99
# File 'lib/linerb/gen-rb/call_service.rb', line 97

def send_updateGroupCallUrl(request)
  send_message('updateGroupCallUrl', UpdateGroupCallUrl_args, :request => request)
end

#updateGroupCallUrl(request) ⇒ Object



92
93
94
95
# File 'lib/linerb/gen-rb/call_service.rb', line 92

def updateGroupCallUrl(request)
  send_updateGroupCallUrl(request)
  return recv_updateGroupCallUrl()
end