Class: Thrust::AppConfig
- Inherits:
-
Object
- Object
- Thrust::AppConfig
- Defined in:
- lib/thrust/app_config.rb
Instance Attribute Summary collapse
-
#app_name ⇒ Object
readonly
Returns the value of attribute app_name.
-
#deployment_targets ⇒ Object
readonly
Returns the value of attribute deployment_targets.
-
#ios_distribution_certificate ⇒ Object
readonly
Returns the value of attribute ios_distribution_certificate.
-
#ios_sim_path ⇒ Object
readonly
Returns the value of attribute ios_sim_path.
-
#ios_spec_targets ⇒ Object
readonly
Returns the value of attribute ios_spec_targets.
-
#path_to_xcodeproj ⇒ Object
readonly
Returns the value of attribute path_to_xcodeproj.
-
#project_name ⇒ Object
readonly
Returns the value of attribute project_name.
-
#testflight ⇒ Object
readonly
Returns the value of attribute testflight.
-
#thrust_version ⇒ Object
readonly
Returns the value of attribute thrust_version.
-
#workspace_name ⇒ Object
readonly
Returns the value of attribute workspace_name.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ AppConfig
constructor
A new instance of AppConfig.
Constructor Details
#initialize(attributes) ⇒ AppConfig
Returns a new instance of AppConfig.
18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/thrust/app_config.rb', line 18 def initialize(attributes) @app_name = attributes['app_name'] @deployment_targets = generate_deployment_targets(attributes['deployment_targets']) @ios_distribution_certificate = attributes['ios_distribution_certificate'] @ios_sim_path = attributes['ios_sim_path'] @ios_spec_targets = generate_ios_spec_targets(attributes['ios_spec_targets']) @project_name = attributes['project_name'] @testflight = generate_testflight_credentials(attributes['testflight']) @thrust_version = attributes['thrust_version'].to_s @workspace_name = attributes['workspace_name'] @path_to_xcodeproj = attributes['path_to_xcodeproj'] end |
Instance Attribute Details
#app_name ⇒ Object (readonly)
Returns the value of attribute app_name.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def app_name @app_name end |
#deployment_targets ⇒ Object (readonly)
Returns the value of attribute deployment_targets.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def deployment_targets @deployment_targets end |
#ios_distribution_certificate ⇒ Object (readonly)
Returns the value of attribute ios_distribution_certificate.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def ios_distribution_certificate @ios_distribution_certificate end |
#ios_sim_path ⇒ Object (readonly)
Returns the value of attribute ios_sim_path.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def ios_sim_path @ios_sim_path end |
#ios_spec_targets ⇒ Object (readonly)
Returns the value of attribute ios_spec_targets.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def ios_spec_targets @ios_spec_targets end |
#path_to_xcodeproj ⇒ Object (readonly)
Returns the value of attribute path_to_xcodeproj.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def path_to_xcodeproj @path_to_xcodeproj end |
#project_name ⇒ Object (readonly)
Returns the value of attribute project_name.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def project_name @project_name end |
#testflight ⇒ Object (readonly)
Returns the value of attribute testflight.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def testflight @testflight end |
#thrust_version ⇒ Object (readonly)
Returns the value of attribute thrust_version.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def thrust_version @thrust_version end |
#workspace_name ⇒ Object (readonly)
Returns the value of attribute workspace_name.
7 8 9 |
# File 'lib/thrust/app_config.rb', line 7 def workspace_name @workspace_name end |