Class: Log::Warrior::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/log/warrior/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



9
10
11
12
# File 'lib/log/warrior/configuration.rb', line 9

def initialize
  @mongodb_host = nil
  @collection_name = nil
end

Instance Attribute Details

#collection_nameObject

Returns the value of attribute collection_name.



7
8
9
# File 'lib/log/warrior/configuration.rb', line 7

def collection_name
  @collection_name
end

#mongodb_hostObject

Returns the value of attribute mongodb_host.



6
7
8
# File 'lib/log/warrior/configuration.rb', line 6

def mongodb_host
  @mongodb_host
end