Class: Mobile::Version::Thrift::RemoteVersionManageService::Client

Inherits:
Object
  • Object
show all
Includes:
Thrift::Client
Defined in:
lib/remote_version_manage_service.rb

Instance Method Summary collapse

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_addAppHistoryObject

Raises:

  • (::Thrift::ApplicationException)


71
72
73
74
75
# File 'lib/remote_version_manage_service.rb', line 71

def recv_addAppHistory()
  result = receive_message(AddAppHistory_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'addAppHistory failed: unknown result')
end

#recv_addAppProductObject

Raises:

  • (::Thrift::ApplicationException)


56
57
58
59
60
# File 'lib/remote_version_manage_service.rb', line 56

def recv_addAppProduct()
  result = receive_message(AddAppProduct_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'addAppProduct failed: unknown result')
end

#recv_checkForUpgradeObject

Raises:

  • (::Thrift::ApplicationException)


26
27
28
29
30
# File 'lib/remote_version_manage_service.rb', line 26

def recv_checkForUpgrade()
  result = receive_message(CheckForUpgrade_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'checkForUpgrade failed: unknown result')
end

#recv_getSecurityTokenObject

Raises:

  • (::Thrift::ApplicationException)


41
42
43
44
45
# File 'lib/remote_version_manage_service.rb', line 41

def recv_getSecurityToken()
  result = receive_message(GetSecurityToken_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSecurityToken failed: unknown result')
end

#recv_isSpecialVersionOfProductExistObject

Raises:

  • (::Thrift::ApplicationException)


101
102
103
104
105
# File 'lib/remote_version_manage_service.rb', line 101

def recv_isSpecialVersionOfProductExist()
  result = receive_message(IsSpecialVersionOfProductExist_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'isSpecialVersionOfProductExist failed: unknown result')
end

#recv_queryDeterminedAppProductObject

Raises:

  • (::Thrift::ApplicationException)


86
87
88
89
90
# File 'lib/remote_version_manage_service.rb', line 86

def recv_queryDeterminedAppProduct()
  result = receive_message(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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('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)
  send_message('queryDeterminedAppProduct', QueryDeterminedAppProduct_args, :app => app)
end