Class: SecondaryQrCodeLoginPermit::Client
- Inherits:
-
Object
- Object
- SecondaryQrCodeLoginPermit::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/linerb/gen-rb/secondary_qr_code_login_permit.rb
Instance Method Summary collapse
- #cancelPinCode(request) ⇒ Object
- #getLoginActorContext(request) ⇒ Object
- #recv_cancelPinCode ⇒ Object
- #recv_getLoginActorContext ⇒ Object
- #recv_verifyPinCode ⇒ Object
- #recv_verifyQrCode ⇒ Object
- #send_cancelPinCode(request) ⇒ Object
- #send_getLoginActorContext(request) ⇒ Object
- #send_verifyPinCode(request) ⇒ Object
- #send_verifyQrCode(request) ⇒ Object
- #verifyPinCode(request) ⇒ Object
- #verifyQrCode(request) ⇒ Object
Instance Method Details
#cancelPinCode(request) ⇒ Object
14 15 16 17 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 14 def cancelPinCode(request) send_cancelPinCode(request) return recv_cancelPinCode() end |
#getLoginActorContext(request) ⇒ Object
30 31 32 33 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 30 def getLoginActorContext(request) send_getLoginActorContext(request) return recv_getLoginActorContext() end |
#recv_cancelPinCode ⇒ Object
23 24 25 26 27 28 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 23 def recv_cancelPinCode() result = (CancelPinCode_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'cancelPinCode failed: unknown result') end |
#recv_getLoginActorContext ⇒ Object
39 40 41 42 43 44 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 39 def recv_getLoginActorContext() result = (GetLoginActorContext_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getLoginActorContext failed: unknown result') end |
#recv_verifyPinCode ⇒ Object
55 56 57 58 59 60 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 55 def recv_verifyPinCode() result = (VerifyPinCode_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'verifyPinCode failed: unknown result') end |
#recv_verifyQrCode ⇒ Object
71 72 73 74 75 76 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 71 def recv_verifyQrCode() result = (VerifyQrCode_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'verifyQrCode failed: unknown result') end |
#send_cancelPinCode(request) ⇒ Object
19 20 21 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 19 def send_cancelPinCode(request) ('cancelPinCode', CancelPinCode_args, :request => request) end |
#send_getLoginActorContext(request) ⇒ Object
35 36 37 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 35 def send_getLoginActorContext(request) ('getLoginActorContext', GetLoginActorContext_args, :request => request) end |
#send_verifyPinCode(request) ⇒ Object
51 52 53 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 51 def send_verifyPinCode(request) ('verifyPinCode', VerifyPinCode_args, :request => request) end |
#send_verifyQrCode(request) ⇒ Object
67 68 69 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 67 def send_verifyQrCode(request) ('verifyQrCode', VerifyQrCode_args, :request => request) end |
#verifyPinCode(request) ⇒ Object
46 47 48 49 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 46 def verifyPinCode(request) send_verifyPinCode(request) return recv_verifyPinCode() end |
#verifyQrCode(request) ⇒ Object
62 63 64 65 |
# File 'lib/linerb/gen-rb/secondary_qr_code_login_permit.rb', line 62 def verifyQrCode(request) send_verifyQrCode(request) return recv_verifyQrCode() end |