Sha256: a844fd73858d330902293856cf2562e87b1dcd449ee44ea90d755c388675e346

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

require_relative "configuration/elasticsearch"
require_relative "configuration/redis"
require_relative "configuration/schema"
require_relative "configuration/tag"

module Tagliani
  class Configuration
    attr_reader :elasticsearch, :redis, :schema, :tag
    
    def initialize
      @elasticsearch = Elasticsearch.new
      @redis = Redis.new
      @schema = Schema.new
      @tag = Tag.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tagliani-0.1.1 lib/tagliani/configuration.rb
tagliani-0.1.0 lib/tagliani/configuration.rb