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