activation form

This commit is contained in:
Yan
2017-11-09 18:30:20 +06:30
21 changed files with 467 additions and 58 deletions

View File

@@ -50,7 +50,7 @@ class License
if cache_license.nil?
##change the d/e key
# @options = { query: {device: "SXlite", lookup: lookup, skey: @secret, token: SECRETS_CONFIG['provision_key']} }
@params = { query: { device: "SXlite", token: SECRETS_CONFIG['provision_key']} }
@params = { query: { device: "SXlite", token: SECRETS_CONFIG['license_key']} }
response = self.class.get("/request_license", @params)
@license = response.parsed_response