Class: Mobile::Version::Thrift::RemoteVersionManageService::Processor
- Inherits:
-
Object
- Object
- Mobile::Version::Thrift::RemoteVersionManageService::Processor
- Includes:
- Thrift::Processor
- Defined in:
- lib/remote_version_manage_service.rb
Instance Method Summary collapse
- #process_addAppHistory(seqid, iprot, oprot) ⇒ Object
- #process_addAppProduct(seqid, iprot, oprot) ⇒ Object
- #process_checkForUpgrade(seqid, iprot, oprot) ⇒ Object
- #process_getSecurityToken(seqid, iprot, oprot) ⇒ Object
- #process_isSpecialVersionOfProductExist(seqid, iprot, oprot) ⇒ Object
- #process_queryDeterminedAppProduct(seqid, iprot, oprot) ⇒ Object
Instance Method Details
#process_addAppHistory(seqid, iprot, oprot) ⇒ Object
133 134 135 136 137 138 |
# File 'lib/remote_version_manage_service.rb', line 133 def process_addAppHistory(seqid, iprot, oprot) args = read_args(iprot, AddAppHistory_args) result = AddAppHistory_result.new() result.success = @handler.addAppHistory(args.app, args.version, args.apiVersion, args.downloadUrl) write_result(result, oprot, 'addAppHistory', seqid) end |
#process_addAppProduct(seqid, iprot, oprot) ⇒ Object
126 127 128 129 130 131 |
# File 'lib/remote_version_manage_service.rb', line 126 def process_addAppProduct(seqid, iprot, oprot) args = read_args(iprot, AddAppProduct_args) result = AddAppProduct_result.new() result.success = @handler.addAppProduct(args.app) write_result(result, oprot, 'addAppProduct', seqid) end |
#process_checkForUpgrade(seqid, iprot, oprot) ⇒ Object
112 113 114 115 116 117 |
# File 'lib/remote_version_manage_service.rb', line 112 def process_checkForUpgrade(seqid, iprot, oprot) args = read_args(iprot, CheckForUpgrade_args) result = CheckForUpgrade_result.new() result.success = @handler.checkForUpgrade(args.app, args.version, args.deviceId) write_result(result, oprot, 'checkForUpgrade', seqid) end |
#process_getSecurityToken(seqid, iprot, oprot) ⇒ Object
119 120 121 122 123 124 |
# File 'lib/remote_version_manage_service.rb', line 119 def process_getSecurityToken(seqid, iprot, oprot) args = read_args(iprot, GetSecurityToken_args) result = GetSecurityToken_result.new() result.success = @handler.getSecurityToken(args.app, args.version) write_result(result, oprot, 'getSecurityToken', seqid) end |
#process_isSpecialVersionOfProductExist(seqid, iprot, oprot) ⇒ Object
147 148 149 150 151 152 |
# File 'lib/remote_version_manage_service.rb', line 147 def process_isSpecialVersionOfProductExist(seqid, iprot, oprot) args = read_args(iprot, IsSpecialVersionOfProductExist_args) result = IsSpecialVersionOfProductExist_result.new() result.success = @handler.isSpecialVersionOfProductExist(args.productId, args.version) write_result(result, oprot, 'isSpecialVersionOfProductExist', seqid) end |
#process_queryDeterminedAppProduct(seqid, iprot, oprot) ⇒ Object
140 141 142 143 144 145 |
# File 'lib/remote_version_manage_service.rb', line 140 def process_queryDeterminedAppProduct(seqid, iprot, oprot) args = read_args(iprot, QueryDeterminedAppProduct_args) result = QueryDeterminedAppProduct_result.new() result.success = @handler.queryDeterminedAppProduct(args.app) write_result(result, oprot, 'queryDeterminedAppProduct', seqid) end |