Class: SecondaryQrcodeLoginService::Client
- Inherits:
-
Object
- Object
- SecondaryQrcodeLoginService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/linerb/gen-rb/secondary_qrcode_login_service.rb
Instance Method Summary collapse
- #createPinCode(request) ⇒ Object
- #createQrCode(request) ⇒ Object
- #createSession(request) ⇒ Object
- #qrCodeLogin(request) ⇒ Object
- #recv_createPinCode ⇒ Object
- #recv_createQrCode ⇒ Object
- #recv_createSession ⇒ Object
- #recv_qrCodeLogin ⇒ Object
- #recv_verifyCertificate ⇒ Object
- #send_createPinCode(request) ⇒ Object
- #send_createQrCode(request) ⇒ Object
- #send_createSession(request) ⇒ Object
- #send_qrCodeLogin(request) ⇒ Object
- #send_verifyCertificate(request) ⇒ Object
- #verifyCertificate(request) ⇒ Object
Instance Method Details
#createPinCode(request) ⇒ Object
46 47 48 49 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 46 def createPinCode(request) send_createPinCode(request) return recv_createPinCode() end |
#createQrCode(request) ⇒ Object
30 31 32 33 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 30 def createQrCode(request) send_createQrCode(request) return recv_createQrCode() end |
#createSession(request) ⇒ Object
14 15 16 17 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 14 def createSession(request) send_createSession(request) return recv_createSession() end |
#qrCodeLogin(request) ⇒ Object
62 63 64 65 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 62 def qrCodeLogin(request) send_qrCodeLogin(request) return recv_qrCodeLogin() end |
#recv_createPinCode ⇒ Object
55 56 57 58 59 60 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 55 def recv_createPinCode() result = (CreatePinCode_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createPinCode failed: unknown result') end |
#recv_createQrCode ⇒ Object
39 40 41 42 43 44 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 39 def recv_createQrCode() result = (CreateQrCode_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createQrCode failed: unknown result') end |
#recv_createSession ⇒ Object
23 24 25 26 27 28 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 23 def recv_createSession() result = (CreateSession_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createSession failed: unknown result') end |
#recv_qrCodeLogin ⇒ Object
71 72 73 74 75 76 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 71 def recv_qrCodeLogin() result = (QrCodeLogin_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'qrCodeLogin failed: unknown result') end |
#recv_verifyCertificate ⇒ Object
87 88 89 90 91 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 87 def recv_verifyCertificate() result = (VerifyCertificate_result) raise result.e unless result.e.nil? return end |
#send_createPinCode(request) ⇒ Object
51 52 53 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 51 def send_createPinCode(request) ('createPinCode', CreatePinCode_args, :request => request) end |
#send_createQrCode(request) ⇒ Object
35 36 37 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 35 def send_createQrCode(request) ('createQrCode', CreateQrCode_args, :request => request) end |
#send_createSession(request) ⇒ Object
19 20 21 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 19 def send_createSession(request) ('createSession', CreateSession_args, :request => request) end |
#send_qrCodeLogin(request) ⇒ Object
67 68 69 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 67 def send_qrCodeLogin(request) ('qrCodeLogin', QrCodeLogin_args, :request => request) end |
#send_verifyCertificate(request) ⇒ Object
83 84 85 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 83 def send_verifyCertificate(request) ('verifyCertificate', VerifyCertificate_args, :request => request) end |
#verifyCertificate(request) ⇒ Object
78 79 80 81 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 78 def verifyCertificate(request) send_verifyCertificate(request) recv_verifyCertificate() end |