Class: SecondaryQrcodeLoginService::Processor
- Inherits:
-
Object
- Object
- SecondaryQrcodeLoginService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/linerb/gen-rb/secondary_qrcode_login_service.rb
Instance Method Summary collapse
- #process_createPinCode(seqid, iprot, oprot) ⇒ Object
- #process_createQrCode(seqid, iprot, oprot) ⇒ Object
- #process_createSession(seqid, iprot, oprot) ⇒ Object
- #process_qrCodeLogin(seqid, iprot, oprot) ⇒ Object
- #process_verifyCertificate(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_createPinCode(seqid, iprot, oprot) ⇒ Object
120 121 122 123 124 125 126 127 128 129 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 120 def process_createPinCode(seqid, iprot, oprot) args = read_args(iprot, CreatePinCode_args) result = CreatePinCode_result.new() begin result.success = @handler.createPinCode(args.request) rescue ::SecondaryQrCodeException => e result.e = e end write_result(result, oprot, 'createPinCode', seqid) end |
#process_createQrCode(seqid, iprot, oprot) ⇒ Object
109 110 111 112 113 114 115 116 117 118 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 109 def process_createQrCode(seqid, iprot, oprot) args = read_args(iprot, CreateQrCode_args) result = CreateQrCode_result.new() begin result.success = @handler.createQrCode(args.request) rescue ::SecondaryQrCodeException => e result.e = e end write_result(result, oprot, 'createQrCode', seqid) end |
#process_createSession(seqid, iprot, oprot) ⇒ Object
98 99 100 101 102 103 104 105 106 107 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 98 def process_createSession(seqid, iprot, oprot) args = read_args(iprot, CreateSession_args) result = CreateSession_result.new() begin result.success = @handler.createSession(args.request) rescue ::SecondaryQrCodeException => e result.e = e end write_result(result, oprot, 'createSession', seqid) end |
#process_qrCodeLogin(seqid, iprot, oprot) ⇒ Object
131 132 133 134 135 136 137 138 139 140 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 131 def process_qrCodeLogin(seqid, iprot, oprot) args = read_args(iprot, QrCodeLogin_args) result = QrCodeLogin_result.new() begin result.success = @handler.qrCodeLogin(args.request) rescue ::SecondaryQrCodeException => e result.e = e end write_result(result, oprot, 'qrCodeLogin', seqid) end |
#process_verifyCertificate(seqid, iprot, oprot) ⇒ Object
142 143 144 145 146 147 148 149 150 151 |
# File 'lib/linerb/gen-rb/secondary_qrcode_login_service.rb', line 142 def process_verifyCertificate(seqid, iprot, oprot) args = read_args(iprot, VerifyCertificate_args) result = VerifyCertificate_result.new() begin @handler.verifyCertificate(args.request) rescue ::SecondaryQrCodeException => e result.e = e end write_result(result, oprot, 'verifyCertificate', seqid) end |