Sha256: 4de02671bfa9d5f0be3857681094e3a33dd2902015bd7eb2a08b03660488df30
Contents?: true
Size: 1.47 KB
Versions: 10
Compression:
Stored size: 1.47 KB
Contents
require 'heirloom/catalog/add.rb' require 'heirloom/catalog/delete.rb' require 'heirloom/catalog/list.rb' require 'heirloom/catalog/setup.rb' require 'heirloom/catalog/show.rb' require 'heirloom/catalog/verify.rb' module Heirloom class Catalog def initialize(args) @config = args[:config] @name = args[:name] end def create_catalog_domain setup.create_catalog_domain end def catalog_domain_exists? verify.catalog_domain_exists? end def entry_exists_in_catalog?(entry) verify.entry_exists_in_catalog? entry end def delete_from_catalog delete.delete_from_catalog end def add_to_catalog(args) add.add_to_catalog args end def regions show.regions end def bucket_prefix show.bucket_prefix end def all list.all end private def add @add ||= Catalog::Add.new :config => @config, :name => @name end def delete @delete ||= Catalog::Delete.new :config => @config, :name => @name end def list @list ||= Catalog::List.new :config => @config end def setup @setup ||= Catalog::Setup.new :config => @config end def show @show ||= Catalog::Show.new :config => @config, :name => @name end def verify @verify ||= Catalog::Verify.new :config => @config end end end
Version data entries
10 entries across 10 versions & 1 rubygems