Class: Tagliani::Configuration
- Inherits:
-
Object
- Object
- Tagliani::Configuration
- 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
-
#elasticsearch ⇒ Object
readonly
Returns the value of attribute elasticsearch.
-
#redis ⇒ Object
readonly
Returns the value of attribute redis.
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#elasticsearch ⇒ Object (readonly)
Returns the value of attribute elasticsearch.
8 9 10 |
# File 'lib/tagliani/configuration.rb', line 8 def elasticsearch @elasticsearch end |
#redis ⇒ Object (readonly)
Returns the value of attribute redis.
8 9 10 |
# File 'lib/tagliani/configuration.rb', line 8 def redis @redis end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema.
8 9 10 |
# File 'lib/tagliani/configuration.rb', line 8 def schema @schema end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
8 9 10 |
# File 'lib/tagliani/configuration.rb', line 8 def tag @tag end |