Class: VagrantPlugins::AwsRoute53Advoc8::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-aws-route53-advoc8/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



9
10
11
12
# File 'lib/vagrant-aws-route53-advoc8/config.rb', line 9

def initialize
  @hosted_zone_id = UNSET_VALUE
  @record_set     = UNSET_VALUE
end

Instance Attribute Details

#hosted_zone_idObject

Returns the value of attribute hosted_zone_id.



6
7
8
# File 'lib/vagrant-aws-route53-advoc8/config.rb', line 6

def hosted_zone_id
  @hosted_zone_id
end

#record_setObject

Returns the value of attribute record_set.



7
8
9
# File 'lib/vagrant-aws-route53-advoc8/config.rb', line 7

def record_set
  @record_set
end

Instance Method Details

#validate(machine) ⇒ Object



14
15
16
17
18
# File 'lib/vagrant-aws-route53-advoc8/config.rb', line 14

def validate(machine)
  errors = _detected_errors

  { 'AwsRoute53Advoc8' => errors }
end