Class | Evernote::EDAM::UserStore::UserStore::Processor |
In: |
ruby/lib/Evernote/EDAM/user_store.rb
|
Parent: | Object |
# File ruby/lib/Evernote/EDAM/user_store.rb, line 113 113: def process_authenticate(seqid, iprot, oprot) 114: args = read_args(iprot, Authenticate_args) 115: result = Authenticate_result.new() 116: begin 117: result.success = @handler.authenticate(args.username, args.password, args.consumerKey, args.consumerSecret) 118: rescue Evernote::EDAM::Error::EDAMUserException => userException 119: result.userException = userException 120: rescue Evernote::EDAM::Error::EDAMSystemException => systemException 121: result.systemException = systemException 122: end 123: write_result(result, oprot, 'authenticate', seqid) 124: end
# File ruby/lib/Evernote/EDAM/user_store.rb, line 106 106: def process_checkVersion(seqid, iprot, oprot) 107: args = read_args(iprot, CheckVersion_args) 108: result = CheckVersion_result.new() 109: result.success = @handler.checkVersion(args.clientName, args.edamVersionMajor, args.edamVersionMinor) 110: write_result(result, oprot, 'checkVersion', seqid) 111: end
# File ruby/lib/Evernote/EDAM/user_store.rb, line 152 152: def process_getPublicUserInfo(seqid, iprot, oprot) 153: args = read_args(iprot, GetPublicUserInfo_args) 154: result = GetPublicUserInfo_result.new() 155: begin 156: result.success = @handler.getPublicUserInfo(args.username) 157: rescue Evernote::EDAM::Error::EDAMNotFoundException => notFoundException 158: result.notFoundException = notFoundException 159: rescue Evernote::EDAM::Error::EDAMSystemException => systemException 160: result.systemException = systemException 161: rescue Evernote::EDAM::Error::EDAMUserException => userException 162: result.userException = userException 163: end 164: write_result(result, oprot, 'getPublicUserInfo', seqid) 165: end
# File ruby/lib/Evernote/EDAM/user_store.rb, line 139 139: def process_getUser(seqid, iprot, oprot) 140: args = read_args(iprot, GetUser_args) 141: result = GetUser_result.new() 142: begin 143: result.success = @handler.getUser(args.authenticationToken) 144: rescue Evernote::EDAM::Error::EDAMUserException => userException 145: result.userException = userException 146: rescue Evernote::EDAM::Error::EDAMSystemException => systemException 147: result.systemException = systemException 148: end 149: write_result(result, oprot, 'getUser', seqid) 150: end
# File ruby/lib/Evernote/EDAM/user_store.rb, line 126 126: def process_refreshAuthentication(seqid, iprot, oprot) 127: args = read_args(iprot, RefreshAuthentication_args) 128: result = RefreshAuthentication_result.new() 129: begin 130: result.success = @handler.refreshAuthentication(args.authenticationToken) 131: rescue Evernote::EDAM::Error::EDAMUserException => userException 132: result.userException = userException 133: rescue Evernote::EDAM::Error::EDAMSystemException => systemException 134: result.systemException = systemException 135: end 136: write_result(result, oprot, 'refreshAuthentication', seqid) 137: end