Class: BranchIOCLI::Configuration::ValidateConfiguration
- Inherits:
-
Configuration
- Object
- Configuration
- BranchIOCLI::Configuration::ValidateConfiguration
- Defined in:
- lib/branch_io_cli/configuration/validate_configuration.rb
Instance Attribute Summary collapse
-
#domains ⇒ Object
readonly
Returns the value of attribute domains.
Attributes inherited from Configuration
#cartfile_path, #options, #pod_repo_update, #podfile, #podfile_path, #sdk_integration_mode, #target, #workspace, #workspace_path, #xcodeproj, #xcodeproj_path
Instance Method Summary collapse
-
#initialize(options) ⇒ ValidateConfiguration
constructor
A new instance of ValidateConfiguration.
- #log ⇒ Object
- #validate_options ⇒ Object
Methods inherited from Configuration
#app_delegate_objc_path, #app_delegate_swift_path, #branch_imports, #branch_imports_from_file, #bridging_header_path, #bridging_header_required?, #helper, #modules_enabled?, #open_podfile, #print_identification, #relative_path, #swift_version, #uses_frameworks?, #validate_buildfile_at_path, #validate_buildfile_path, #validate_target, #validate_xcodeproj_path
Constructor Details
#initialize(options) ⇒ ValidateConfiguration
Returns a new instance of ValidateConfiguration.
6 7 8 9 |
# File 'lib/branch_io_cli/configuration/validate_configuration.rb', line 6 def initialize() super @domains = .domains end |
Instance Attribute Details
#domains ⇒ Object (readonly)
Returns the value of attribute domains.
4 5 6 |
# File 'lib/branch_io_cli/configuration/validate_configuration.rb', line 4 def domains @domains end |
Instance Method Details
#log ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/branch_io_cli/configuration/validate_configuration.rb', line 16 def log super say "<%= color('Xcode project:', BOLD) %> \#{xcodeproj_path}\n<%= color('Target:', BOLD) %> \#{target.name}\n<%= color('Domains:', BOLD) %> \#{domains || '(none)'}\n" end |
#validate_options ⇒ Object
11 12 13 14 |
# File 'lib/branch_io_cli/configuration/validate_configuration.rb', line 11 def validate_xcodeproj_path validate_target end |