Sha256: 53093316802d16f1c61f085624310626790b4edd4b18543737e1e447d17bd767

Contents?: true

Size: 869 Bytes

Versions: 5

Compression:

Stored size: 869 Bytes

Contents

require 'aws-sdk-cloudformation'
require 'humidifier'
require 'thor'
require 'thor/hollaback'
require 'yaml'

require 'humidifier/reservoir/base_mapper'
require 'humidifier/reservoir/cli'
require 'humidifier/reservoir/config'
require 'humidifier/reservoir/error'
require 'humidifier/reservoir/mapping'
require 'humidifier/reservoir/stack'
require 'humidifier/reservoir/version'

module Humidifier
  # The parent module for Reservoir-related constants.
  module Reservoir
    class << self
      def config
        @config ||= Config.new
      end

      def configure
        yield config
      end

      def files_for(name)
        config.files_for(name)
      end

      def mapping_for(type)
        config.mapping_for(type)
      end

      def stack_prefix
        config.stack_prefix
      end

      def stacks
        config.stacks
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
humidifier-reservoir-0.2.3 lib/humidifier/reservoir.rb
humidifier-reservoir-0.2.2 lib/humidifier/reservoir.rb
humidifier-reservoir-0.2.1 lib/humidifier/reservoir.rb
humidifier-reservoir-0.2.0 lib/humidifier/reservoir.rb
humidifier-reservoir-0.1.0 lib/humidifier/reservoir.rb