Class: Roadworker::Exporter
- Inherits:
-
Object
- Object
- Roadworker::Exporter
- Defined in:
- lib/roadworker/route53-exporter.rb
Class Method Summary collapse
Instance Method Summary collapse
- #export ⇒ Object
-
#initialize(options) ⇒ Exporter
constructor
of class method.
Constructor Details
#initialize(options) ⇒ Exporter
of class method
15 16 17 |
# File 'lib/roadworker/route53-exporter.rb', line 15 def initialize() @options = end |
Class Method Details
.export(route53) ⇒ Object
10 11 12 |
# File 'lib/roadworker/route53-exporter.rb', line 10 def export(route53) self.new(route53).export end |
Instance Method Details
#export ⇒ Object
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/roadworker/route53-exporter.rb', line 19 def export result = { :health_checks => HealthCheck.health_checks(@options.route53), } hosted_zones = result[:hosted_zones] = [] export_hosted_zones(hosted_zones) return result end |