Class: Vx::Builder::BuildConfiguration::Deploy

Inherits:
Object
  • Object
show all
Defined in:
lib/vx/builder/build_configuration/deploy.rb,
lib/vx/builder/build_configuration/deploy/provider.rb

Defined Under Namespace

Classes: Provider

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(new_env) ⇒ Deploy

Returns a new instance of Deploy.



8
9
10
# File 'lib/vx/builder/build_configuration/deploy.rb', line 8

def initialize(new_env)
  normalize(new_env)
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



6
7
8
# File 'lib/vx/builder/build_configuration/deploy.rb', line 6

def attributes
  @attributes
end

Instance Method Details

#providersObject



16
17
18
19
20
# File 'lib/vx/builder/build_configuration/deploy.rb', line 16

def providers
  @providers ||= @attributes.map do |a|
    Deploy::Provider.new(a)
  end
end