Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: a819e0ce0b
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.467 kB
require 'mongo_light/configuration'
require 'mongo_light/id'
require 'mongo_light/connection'
require 'mongo_light/embedded_document'
require 'mongo_light/document'
require 'mongo_light/mongo_extensions'
module MongoLight
class << self
attr_accessor :configuration
def configuration
@configuration ||= Configuration.new
end
def configure
yield(configuration)
MongoLight::Connection.setup(configuration)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.