Class: Roadworker::Route53Wrapper
- Inherits:
-
Object
- Object
- Roadworker::Route53Wrapper
- 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
- #export ⇒ Object
- #hosted_zones ⇒ Object
-
#initialize(options) ⇒ Route53Wrapper
constructor
A new instance of Route53Wrapper.
Constructor Details
#initialize(options) ⇒ Route53Wrapper
Returns a new instance of Route53Wrapper.
18 19 20 |
# File 'lib/roadworker/route53-wrapper.rb', line 18 def initialize() @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 |