Class: AndroidConfig
- Inherits:
-
Object
- Object
- AndroidConfig
- Defined in:
- lib/Models/AndroidConfig.rb
Instance Attribute Summary collapse
-
#accountID ⇒ Object
Returns the value of attribute accountID.
-
#appID ⇒ Object
Returns the value of attribute appID.
-
#baseExecutePath ⇒ Object
Returns the value of attribute baseExecutePath.
-
#keyFilePath ⇒ Object
Returns the value of attribute keyFilePath.
-
#packageName ⇒ Object
Returns the value of attribute packageName.
Instance Method Summary collapse
-
#initialize(configYMLObj, configFilePath, baseExecutePath) ⇒ AndroidConfig
constructor
A new instance of AndroidConfig.
Constructor Details
#initialize(configYMLObj, configFilePath, baseExecutePath) ⇒ AndroidConfig
Returns a new instance of AndroidConfig.
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/Models/AndroidConfig.rb', line 9 def initialize(configYMLObj, configFilePath, baseExecutePath) @keyFilePath = Helper.unwrapRequiredParameter(configYMLObj,"keyFilePath") if Pathname.new(keyFilePath).absolute? configDir = File.dirname(configFilePath) @keyFilePath = "#{configDir}#{keyFilePath}" end @accountID = configYMLObj["playConsoleDeveloperAccountID"] @appID = configYMLObj["playConsoleAppID"] @baseExecutePath = baseExecutePath @packageName = Helper.unwrapRequiredParameter(configYMLObj,"packageName") end |
Instance Attribute Details
#accountID ⇒ Object
Returns the value of attribute accountID.
8 9 10 |
# File 'lib/Models/AndroidConfig.rb', line 8 def accountID @accountID end |
#appID ⇒ Object
Returns the value of attribute appID.
8 9 10 |
# File 'lib/Models/AndroidConfig.rb', line 8 def appID @appID end |
#baseExecutePath ⇒ Object
Returns the value of attribute baseExecutePath.
8 9 10 |
# File 'lib/Models/AndroidConfig.rb', line 8 def baseExecutePath @baseExecutePath end |
#keyFilePath ⇒ Object
Returns the value of attribute keyFilePath.
8 9 10 |
# File 'lib/Models/AndroidConfig.rb', line 8 def keyFilePath @keyFilePath end |
#packageName ⇒ Object
Returns the value of attribute packageName.
8 9 10 |
# File 'lib/Models/AndroidConfig.rb', line 8 def packageName @packageName end |