Class: VagrantPlugins::AwsDns::Action::AddRecord
- Defined in:
- lib/vagrant-aws-dns/action/add_record.rb
Instance Method Summary collapse
Methods inherited from Base
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/add_record.rb', line 9 def call(env) super env do |hosted_zone_id, record, type, value| @aws.add_record(hosted_zone_id, record, type, value) @machine.ui.info("Add dns record #{record} pointing to #{value}.") end end |