Class: VagrantPlugins::AwsDns::Action::RemoveRecord

Inherits:
Base
  • Object
show all
Defined in:
lib/vagrant-aws-dns/action/remove_record.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from VagrantPlugins::AwsDns::Action::Base

Instance Method Details

#call(env) ⇒ Object



9
10
11
12
13
14
# File 'lib/vagrant-aws-dns/action/remove_record.rb', line 9

def call(env)
  super env do |hosted_zone_id, record, type, value|
    @aws.remove_record(hosted_zone_id, record, type, value)
    @machine.ui.info("Removing dns record #{record}.")
  end
end