Sha256: 186bccbced0665e3f2d1b76b1d0bc0fae84dc472fcfe0dd307d318e3f22e4b66
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
$lib = File.expand_path('../', File.dirname(__FILE__)) require "pathname" require "Helper" require "time" class AndroidConfig attr_accessor :keyContent, :keyID, :tokenURI, :clientEmail, :packageName, :accountID, :appID, :baseExecutePath def initialize(configYMLObj, configFilePath, baseExecutePath) keyFilePath = Helper.unwrapRequiredParameter(configYMLObj,"keyFilePath") if Pathname.new(keyFilePath).absolute? configDir = File.dirname(configFilePath) keyFilePath = "#{configDir}#{keyFilePath}" end keyFileContent = JSON.parse(File.read(keyFilePath)) @accountID = configYMLObj["playConsoleDeveloperAccountID"] @appID = configYMLObj["playConsoleAppID"] @keyContent = Helper.unwrapRequiredParameter(keyFileContent,"private_key") @keyID = Helper.unwrapRequiredParameter(keyFileContent,"private_key_id") @clientEmail = Helper.unwrapRequiredParameter(keyFileContent,"client_email") @tokenURI = Helper.unwrapRequiredParameter(keyFileContent,"token_uri") @baseExecutePath = baseExecutePath @packageName = Helper.unwrapRequiredParameter(configYMLObj,"packageName") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ZReviewTender-1.2.8 | lib/Models/AndroidConfig.rb |