Class: Tagliani::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/tagliani/configuration.rb,
lib/tagliani/configuration/tag.rb,
lib/tagliani/configuration/redis.rb,
lib/tagliani/configuration/schema.rb,
lib/tagliani/configuration/elasticsearch.rb

Defined Under Namespace

Classes: Elasticsearch, Redis, Schema, Tag

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



10
11
12
13
14
15
# File 'lib/tagliani/configuration.rb', line 10

def initialize
  @elasticsearch = Elasticsearch.new
  @redis = Redis.new
  @schema = Schema.new
  @tag = Tag.new
end

Instance Attribute Details

#elasticsearchObject (readonly)

Returns the value of attribute elasticsearch.



8
9
10
# File 'lib/tagliani/configuration.rb', line 8

def elasticsearch
  @elasticsearch
end

#redisObject (readonly)

Returns the value of attribute redis.



8
9
10
# File 'lib/tagliani/configuration.rb', line 8

def redis
  @redis
end

#schemaObject (readonly)

Returns the value of attribute schema.



8
9
10
# File 'lib/tagliani/configuration.rb', line 8

def schema
  @schema
end

#tagObject (readonly)

Returns the value of attribute tag.



8
9
10
# File 'lib/tagliani/configuration.rb', line 8

def tag
  @tag
end