Class: Pod::Command::Vemars::Baselines
- Inherits:
-
Pod::Command::Vemars
- Object
- Pod::Command
- Pod::Command::Vemars
- Pod::Command::Vemars::Baselines
- Includes:
- Concurrent::Async
- Defined in:
- lib/cocoapods-vemars/command/vemars/baselines.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Baselines
constructor
A new instance of Baselines.
- #run ⇒ Object
Methods inherited from Pod::Command::Vemars
Constructor Details
#initialize(argv) ⇒ Baselines
Returns a new instance of Baselines.
20 21 22 23 24 |
# File 'lib/cocoapods-vemars/command/vemars/baselines.rb', line 20 def initialize(argv) @service_url = argv.option('service_url',nil) super @additional_args = argv.remainder! end |
Class Method Details
.options ⇒ Object
14 15 16 17 18 |
# File 'lib/cocoapods-vemars/command/vemars/baselines.rb', line 14 def self. = [ ['--service_url=SERVICE_URL', 'url of vemars CLI service.'] ] end |
Instance Method Details
#run ⇒ Object
26 27 28 29 |
# File 'lib/cocoapods-vemars/command/vemars/baselines.rb', line 26 def run api = Baselines_api.new(@service_url) api.getBaselines end |