Class: Service::Profile::Thrift::RemoteBackendProfileService::Client
- Inherits:
-
Object
- Object
- Service::Profile::Thrift::RemoteBackendProfileService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/remote_backend_profile_service.rb
Instance Method Summary collapse
- #banLogin(uid, startBanDate, endBanDate) ⇒ Object
- #batchChangeRobotFlag(uids, isRobot) ⇒ Object
- #batchRevokeVerified(uids) ⇒ Object
- #changeRobotFlag(uid, isRobot) ⇒ Object
- #changeUserVCategoryId(uid, categoryId) ⇒ Object
- #recv_banLogin ⇒ Object
- #recv_batchChangeRobotFlag ⇒ Object
- #recv_batchRevokeVerified ⇒ Object
- #recv_changeRobotFlag ⇒ Object
- #recv_changeUserVCategoryId ⇒ Object
- #recv_revokeVerified ⇒ Object
- #recv_unbannedLogin ⇒ Object
- #recv_verify ⇒ Object
- #revokeVerified(uid) ⇒ Object
- #send_banLogin(uid, startBanDate, endBanDate) ⇒ Object
- #send_batchChangeRobotFlag(uids, isRobot) ⇒ Object
- #send_batchRevokeVerified(uids) ⇒ Object
- #send_changeRobotFlag(uid, isRobot) ⇒ Object
- #send_changeUserVCategoryId(uid, categoryId) ⇒ Object
- #send_revokeVerified(uid) ⇒ Object
- #send_unbannedLogin(uid) ⇒ Object
- #send_verify(uid, ptitle, vCompany, vTags, vCategoryId, personDescribe) ⇒ Object
- #unbannedLogin(uid) ⇒ Object
- #verify(uid, ptitle, vCompany, vTags, vCategoryId, personDescribe) ⇒ Object
Instance Method Details
#banLogin(uid, startBanDate, endBanDate) ⇒ Object
107 108 109 110 |
# File 'lib/remote_backend_profile_service.rb', line 107 def banLogin(uid, startBanDate, endBanDate) send_banLogin(uid, startBanDate, endBanDate) return recv_banLogin() end |
#batchChangeRobotFlag(uids, isRobot) ⇒ Object
77 78 79 80 |
# File 'lib/remote_backend_profile_service.rb', line 77 def batchChangeRobotFlag(uids, isRobot) send_batchChangeRobotFlag(uids, isRobot) return recv_batchChangeRobotFlag() end |
#batchRevokeVerified(uids) ⇒ Object
47 48 49 50 |
# File 'lib/remote_backend_profile_service.rb', line 47 def batchRevokeVerified(uids) send_batchRevokeVerified(uids) return recv_batchRevokeVerified() end |
#changeRobotFlag(uid, isRobot) ⇒ Object
62 63 64 65 |
# File 'lib/remote_backend_profile_service.rb', line 62 def changeRobotFlag(uid, isRobot) send_changeRobotFlag(uid, isRobot) return recv_changeRobotFlag() end |
#changeUserVCategoryId(uid, categoryId) ⇒ Object
92 93 94 95 |
# File 'lib/remote_backend_profile_service.rb', line 92 def changeUserVCategoryId(uid, categoryId) send_changeUserVCategoryId(uid, categoryId) return recv_changeUserVCategoryId() end |
#recv_banLogin ⇒ Object
116 117 118 119 120 |
# File 'lib/remote_backend_profile_service.rb', line 116 def recv_banLogin() result = (BanLogin_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'banLogin failed: unknown result') end |
#recv_batchChangeRobotFlag ⇒ Object
86 87 88 89 90 |
# File 'lib/remote_backend_profile_service.rb', line 86 def recv_batchChangeRobotFlag() result = (BatchChangeRobotFlag_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'batchChangeRobotFlag failed: unknown result') end |
#recv_batchRevokeVerified ⇒ Object
56 57 58 59 60 |
# File 'lib/remote_backend_profile_service.rb', line 56 def recv_batchRevokeVerified() result = (BatchRevokeVerified_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'batchRevokeVerified failed: unknown result') end |
#recv_changeRobotFlag ⇒ Object
71 72 73 74 75 |
# File 'lib/remote_backend_profile_service.rb', line 71 def recv_changeRobotFlag() result = (ChangeRobotFlag_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'changeRobotFlag failed: unknown result') end |
#recv_changeUserVCategoryId ⇒ Object
101 102 103 104 105 |
# File 'lib/remote_backend_profile_service.rb', line 101 def recv_changeUserVCategoryId() result = (ChangeUserVCategoryId_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'changeUserVCategoryId failed: unknown result') end |
#recv_revokeVerified ⇒ Object
41 42 43 44 45 |
# File 'lib/remote_backend_profile_service.rb', line 41 def recv_revokeVerified() result = (RevokeVerified_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'revokeVerified failed: unknown result') end |
#recv_unbannedLogin ⇒ Object
131 132 133 134 135 |
# File 'lib/remote_backend_profile_service.rb', line 131 def recv_unbannedLogin() result = (UnbannedLogin_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'unbannedLogin failed: unknown result') end |
#recv_verify ⇒ Object
26 27 28 29 30 |
# File 'lib/remote_backend_profile_service.rb', line 26 def recv_verify() result = (Verify_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'verify failed: unknown result') end |
#revokeVerified(uid) ⇒ Object
32 33 34 35 |
# File 'lib/remote_backend_profile_service.rb', line 32 def revokeVerified(uid) send_revokeVerified(uid) return recv_revokeVerified() end |
#send_banLogin(uid, startBanDate, endBanDate) ⇒ Object
112 113 114 |
# File 'lib/remote_backend_profile_service.rb', line 112 def send_banLogin(uid, startBanDate, endBanDate) ('banLogin', BanLogin_args, :uid => uid, :startBanDate => startBanDate, :endBanDate => endBanDate) end |
#send_batchChangeRobotFlag(uids, isRobot) ⇒ Object
82 83 84 |
# File 'lib/remote_backend_profile_service.rb', line 82 def send_batchChangeRobotFlag(uids, isRobot) ('batchChangeRobotFlag', BatchChangeRobotFlag_args, :uids => uids, :isRobot => isRobot) end |
#send_batchRevokeVerified(uids) ⇒ Object
52 53 54 |
# File 'lib/remote_backend_profile_service.rb', line 52 def send_batchRevokeVerified(uids) ('batchRevokeVerified', BatchRevokeVerified_args, :uids => uids) end |
#send_changeRobotFlag(uid, isRobot) ⇒ Object
67 68 69 |
# File 'lib/remote_backend_profile_service.rb', line 67 def send_changeRobotFlag(uid, isRobot) ('changeRobotFlag', ChangeRobotFlag_args, :uid => uid, :isRobot => isRobot) end |
#send_changeUserVCategoryId(uid, categoryId) ⇒ Object
97 98 99 |
# File 'lib/remote_backend_profile_service.rb', line 97 def send_changeUserVCategoryId(uid, categoryId) ('changeUserVCategoryId', ChangeUserVCategoryId_args, :uid => uid, :categoryId => categoryId) end |
#send_revokeVerified(uid) ⇒ Object
37 38 39 |
# File 'lib/remote_backend_profile_service.rb', line 37 def send_revokeVerified(uid) ('revokeVerified', RevokeVerified_args, :uid => uid) end |
#send_unbannedLogin(uid) ⇒ Object
127 128 129 |
# File 'lib/remote_backend_profile_service.rb', line 127 def send_unbannedLogin(uid) ('unbannedLogin', UnbannedLogin_args, :uid => uid) end |
#send_verify(uid, ptitle, vCompany, vTags, vCategoryId, personDescribe) ⇒ Object
22 23 24 |
# File 'lib/remote_backend_profile_service.rb', line 22 def send_verify(uid, ptitle, vCompany, vTags, vCategoryId, personDescribe) ('verify', Verify_args, :uid => uid, :ptitle => ptitle, :vCompany => vCompany, :vTags => vTags, :vCategoryId => vCategoryId, :personDescribe => personDescribe) end |
#unbannedLogin(uid) ⇒ Object
122 123 124 125 |
# File 'lib/remote_backend_profile_service.rb', line 122 def unbannedLogin(uid) send_unbannedLogin(uid) return recv_unbannedLogin() end |
#verify(uid, ptitle, vCompany, vTags, vCategoryId, personDescribe) ⇒ Object
17 18 19 20 |
# File 'lib/remote_backend_profile_service.rb', line 17 def verify(uid, ptitle, vCompany, vTags, vCategoryId, personDescribe) send_verify(uid, ptitle, vCompany, vTags, vCategoryId, personDescribe) return recv_verify() end |