module Cumulus::Route53::Loader
Public Class Methods
includes_file(name)
click to toggle source
Public: Load a single “includes file” as parsed JSON
name - the name of the file to include
Returns an array of parsed JSON
# File lib/route53/loader/Loader.rb, line 26 def self.includes_file(name) Common::BaseLoader::resource(name, @@includes_dir, &Proc.new { |n, json| json }) end
zones()
click to toggle source
Public: Load all the zone configurations as ZoneConfig
objects
Returns an array of ZoneConfig
# File lib/route53/loader/Loader.rb, line 17 def self.zones Common::BaseLoader::resources(@@zones_dir, &ZoneConfig.method(:new)) end