Class: EcsDeployCli::Runners::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ecs_deploy_cli/runners/base.rb

Direct Known Subclasses

Diff, Logs, RunTask, SSH, Setup, Status, UpdateCrons, UpdateServices, Validate

Instance Method Summary collapse

Constructor Details

#initialize(parser) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/ecs_deploy_cli/runners/base.rb', line 6

def initialize(parser)
  @parser = parser
end

Instance Method Details

#run!Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/ecs_deploy_cli/runners/base.rb', line 10

def run!
  raise NotImplementedError, 'abstract method'
end

#update_task(definition) ⇒ Object



14
15
16
# File 'lib/ecs_deploy_cli/runners/base.rb', line 14

def update_task(definition)
  _update_task(definition)
end