Class: Broadside::Deploy

Inherits:
Object
  • Object
show all
Includes:
LoggingUtils
Defined in:
lib/broadside/deploy.rb

Direct Known Subclasses

EcsDeploy

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Deploy

Returns a new instance of Deploy.



7
8
9
10
# File 'lib/broadside/deploy.rb', line 7

def initialize(options = {})
  @target = Broadside.config.get_target_by_name!(options[:target])
  @tag = options[:tag] || @target.tag
end

Instance Attribute Details

#targetObject (readonly)

Returns the value of attribute target.



5
6
7
# File 'lib/broadside/deploy.rb', line 5

def target
  @target
end