Class: Roadworker::Route53Wrapper
- Inherits:
-
Object
- Object
- Roadworker::Route53Wrapper
show all
- Defined in:
- lib/roadworker/route53-wrapper.rb
Defined Under Namespace
Classes: HostedzoneCollectionWrapper, HostedzoneWrapper, ResourceRecordSetCollectionWrapper, ResourceRecordSetWrapper
Constant Summary
collapse
- RRSET_ATTRS =
[
:set_identifier,
:weight,
:ttl,
:resource_records,
:dns_name,
:region,
:geo_location,
:failover,
:health_check,
]
- RRSET_ATTRS_WITH_TYPE =
[:type] + RRSET_ATTRS
Instance Method Summary
collapse
Constructor Details
18
19
20
|
# File 'lib/roadworker/route53-wrapper.rb', line 18
def initialize(options)
@options = options
end
|
Instance Method Details
#export ⇒ Object
22
23
24
|
# File 'lib/roadworker/route53-wrapper.rb', line 22
def export
Exporter.export(@options)
end
|
#hosted_zones ⇒ Object
26
27
28
|
# File 'lib/roadworker/route53-wrapper.rb', line 26
def hosted_zones
HostedzoneCollectionWrapper.new(@options.route53.list_hosted_zones, @options)
end
|