class DbVcs::Adapters::Mongo::Config
Attributes
mongo_uri[RW]
Mongodb connection uri. Defaults to “mongodb://localhost:27017”. See docs.mongodb.com/manual/reference/connection-string/ for more info.
mongodump_path[RW]
Path to mongodump util. It is resolved automatically.
mongorestore_path[RW]
Path to mongorestore util. It is resolved automatically.
Public Class Methods
new()
click to toggle source
# File lib/db_vcs/adapters/mongo.rb, line 17 def initialize @mongodump_path = Utils.resolve_exec_path("mongodump") @mongorestore_path = Utils.resolve_exec_path("mongorestore") @mongo_uri = "mongodb://localhost:27017" end