Class: SecondaryQrCodeLoginPermit::Client

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

Instance Method Summary collapse

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_cancelPinCodeObject

Raises:

  • (::Thrift::ApplicationException)


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

def recv_cancelPinCode()
  result = receive_message(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_getLoginActorContextObject

Raises:

  • (::Thrift::ApplicationException)


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

def recv_getLoginActorContext()
  result = receive_message(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_verifyPinCodeObject

Raises:

  • (::Thrift::ApplicationException)


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

def recv_verifyPinCode()
  result = receive_message(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_verifyQrCodeObject

Raises:

  • (::Thrift::ApplicationException)


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

def recv_verifyQrCode()
  result = receive_message(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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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