Class: Mobile::Version::Thrift::RemoteVersionManageService::Client
- Inherits:
-
Object
- Object
- Mobile::Version::Thrift::RemoteVersionManageService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/remote_version_manage_service.rb
Instance Method Summary collapse
- #addAppHistory(app, version, apiVersion, downloadUrl) ⇒ Object
- #addAppProduct(app) ⇒ Object
- #checkForUpgrade(app, version, deviceId) ⇒ Object
- #getSecurityToken(app, version) ⇒ Object
- #isSpecialVersionOfProductExist(productId, version) ⇒ Object
- #queryDeterminedAppProduct(app) ⇒ Object
- #recv_addAppHistory ⇒ Object
- #recv_addAppProduct ⇒ Object
- #recv_checkForUpgrade ⇒ Object
- #recv_getSecurityToken ⇒ Object
- #recv_isSpecialVersionOfProductExist ⇒ Object
- #recv_queryDeterminedAppProduct ⇒ Object
- #send_addAppHistory(app, version, apiVersion, downloadUrl) ⇒ Object
- #send_addAppProduct(app) ⇒ Object
- #send_checkForUpgrade(app, version, deviceId) ⇒ Object
- #send_getSecurityToken(app, version) ⇒ Object
- #send_isSpecialVersionOfProductExist(productId, version) ⇒ Object
- #send_queryDeterminedAppProduct(app) ⇒ Object
Instance Method Details
#addAppHistory(app, version, apiVersion, downloadUrl) ⇒ Object
62 63 64 65 |
# File 'lib/remote_version_manage_service.rb', line 62 def addAppHistory(app, version, apiVersion, downloadUrl) send_addAppHistory(app, version, apiVersion, downloadUrl) return recv_addAppHistory() end |
#addAppProduct(app) ⇒ Object
47 48 49 50 |
# File 'lib/remote_version_manage_service.rb', line 47 def addAppProduct(app) send_addAppProduct(app) return recv_addAppProduct() end |
#checkForUpgrade(app, version, deviceId) ⇒ Object
17 18 19 20 |
# File 'lib/remote_version_manage_service.rb', line 17 def checkForUpgrade(app, version, deviceId) send_checkForUpgrade(app, version, deviceId) return recv_checkForUpgrade() end |
#getSecurityToken(app, version) ⇒ Object
32 33 34 35 |
# File 'lib/remote_version_manage_service.rb', line 32 def getSecurityToken(app, version) send_getSecurityToken(app, version) return recv_getSecurityToken() end |
#isSpecialVersionOfProductExist(productId, version) ⇒ Object
92 93 94 95 |
# File 'lib/remote_version_manage_service.rb', line 92 def isSpecialVersionOfProductExist(productId, version) send_isSpecialVersionOfProductExist(productId, version) return recv_isSpecialVersionOfProductExist() end |
#queryDeterminedAppProduct(app) ⇒ Object
77 78 79 80 |
# File 'lib/remote_version_manage_service.rb', line 77 def queryDeterminedAppProduct(app) send_queryDeterminedAppProduct(app) return recv_queryDeterminedAppProduct() end |
#recv_addAppHistory ⇒ Object
71 72 73 74 75 |
# File 'lib/remote_version_manage_service.rb', line 71 def recv_addAppHistory() result = (AddAppHistory_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'addAppHistory failed: unknown result') end |
#recv_addAppProduct ⇒ Object
56 57 58 59 60 |
# File 'lib/remote_version_manage_service.rb', line 56 def recv_addAppProduct() result = (AddAppProduct_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'addAppProduct failed: unknown result') end |
#recv_checkForUpgrade ⇒ Object
26 27 28 29 30 |
# File 'lib/remote_version_manage_service.rb', line 26 def recv_checkForUpgrade() result = (CheckForUpgrade_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'checkForUpgrade failed: unknown result') end |
#recv_getSecurityToken ⇒ Object
41 42 43 44 45 |
# File 'lib/remote_version_manage_service.rb', line 41 def recv_getSecurityToken() result = (GetSecurityToken_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSecurityToken failed: unknown result') end |
#recv_isSpecialVersionOfProductExist ⇒ Object
101 102 103 104 105 |
# File 'lib/remote_version_manage_service.rb', line 101 def recv_isSpecialVersionOfProductExist() result = (IsSpecialVersionOfProductExist_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'isSpecialVersionOfProductExist failed: unknown result') end |
#recv_queryDeterminedAppProduct ⇒ Object
86 87 88 89 90 |
# File 'lib/remote_version_manage_service.rb', line 86 def recv_queryDeterminedAppProduct() result = (QueryDeterminedAppProduct_result) return result.success unless result.success.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryDeterminedAppProduct failed: unknown result') end |
#send_addAppHistory(app, version, apiVersion, downloadUrl) ⇒ Object
67 68 69 |
# File 'lib/remote_version_manage_service.rb', line 67 def send_addAppHistory(app, version, apiVersion, downloadUrl) ('addAppHistory', AddAppHistory_args, :app => app, :version => version, :apiVersion => apiVersion, :downloadUrl => downloadUrl) end |
#send_addAppProduct(app) ⇒ Object
52 53 54 |
# File 'lib/remote_version_manage_service.rb', line 52 def send_addAppProduct(app) ('addAppProduct', AddAppProduct_args, :app => app) end |
#send_checkForUpgrade(app, version, deviceId) ⇒ Object
22 23 24 |
# File 'lib/remote_version_manage_service.rb', line 22 def send_checkForUpgrade(app, version, deviceId) ('checkForUpgrade', CheckForUpgrade_args, :app => app, :version => version, :deviceId => deviceId) end |
#send_getSecurityToken(app, version) ⇒ Object
37 38 39 |
# File 'lib/remote_version_manage_service.rb', line 37 def send_getSecurityToken(app, version) ('getSecurityToken', GetSecurityToken_args, :app => app, :version => version) end |
#send_isSpecialVersionOfProductExist(productId, version) ⇒ Object
97 98 99 |
# File 'lib/remote_version_manage_service.rb', line 97 def send_isSpecialVersionOfProductExist(productId, version) ('isSpecialVersionOfProductExist', IsSpecialVersionOfProductExist_args, :productId => productId, :version => version) end |
#send_queryDeterminedAppProduct(app) ⇒ Object
82 83 84 |
# File 'lib/remote_version_manage_service.rb', line 82 def send_queryDeterminedAppProduct(app) ('queryDeterminedAppProduct', QueryDeterminedAppProduct_args, :app => app) end |