Class: VagrantPlugins::AwsRoute53Advoc8::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::AwsRoute53Advoc8::Config
- Defined in:
- lib/vagrant-aws-route53-advoc8/config.rb
Instance Attribute Summary collapse
-
#hosted_zone_id ⇒ Object
Returns the value of attribute hosted_zone_id.
-
#record_set ⇒ Object
Returns the value of attribute record_set.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #validate(machine) ⇒ Object
Constructor Details
#initialize ⇒ Config
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_id ⇒ Object
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_set ⇒ Object
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 |