Class: Terraspace::Builder::Allow

Inherits:
Object
  • Object
show all
Defined in:
lib/terraspace/builder/allow.rb,
lib/terraspace/builder/allow/env.rb,
lib/terraspace/builder/allow/base.rb,
lib/terraspace/builder/allow/stack.rb,
lib/terraspace/builder/allow/region.rb

Defined Under Namespace

Classes: Base, Env, Region, Stack

Instance Method Summary collapse

Constructor Details

#initialize(mod) ⇒ Allow

Returns a new instance of Allow.



3
4
5
# File 'lib/terraspace/builder/allow.rb', line 3

def initialize(mod)
  @mod = mod
end

Instance Method Details

#check!Object



7
8
9
10
11
# File 'lib/terraspace/builder/allow.rb', line 7

def check!
  Env.new(@mod).check!
  Stack.new(@mod).check!
  Region.new(@mod).check!
end