Class: Curator::Mongo::Configuration

Inherits:
Object
  • Object
show all
Includes:
Configuration
Defined in:
lib/curator/mongo/configuration.rb

Instance Attribute Summary collapse

Attributes included from Configuration

#environment, #migrations_path

Instance Method Summary collapse

Instance Attribute Details

#databaseObject

Returns the value of attribute database.



5
6
7
# File 'lib/curator/mongo/configuration.rb', line 5

def database
  @database
end

#mongo_config_fileObject

Returns the value of attribute mongo_config_file.



5
6
7
# File 'lib/curator/mongo/configuration.rb', line 5

def mongo_config_file
  @mongo_config_file
end

Instance Method Details

#data_storeObject



7
8
9
# File 'lib/curator/mongo/configuration.rb', line 7

def data_store
  Curator::Mongo::DataStore.new
end