Module: Vagrant::Route53::Action

Defined in:
lib/vagrant-route53/action.rb,
lib/vagrant-route53/action/cleanup.rb

Defined Under Namespace

Classes: Cleanup

Class Method Summary collapse

Class Method Details

.cleanupObject



6
7
8
9
10
11
# File 'lib/vagrant-route53/action.rb', line 6

def self.cleanup
  ::Vagrant::Action::Builder.new.tap do |b|
    b.use setup
    b.use Vagrant::Route53::Action::Cleanup
  end
end

.setupObject



13
14
15
16
17
# File 'lib/vagrant-route53/action.rb', line 13

def self.setup
  @setup ||= ::Vagrant::Action::Builder.new.tap do |b|
    b.use ::Vagrant::Action::Builtin::EnvSet, route53: Vagrant::Route53::Env.new
  end
end