Sha256: 704d0c20d157c6561a44904f34681a4a1e2eb5be72a52445cb50a56d33d3640b

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

require 'mongoid'
require 'pry'

module Fetcher
  module Mongoid
    module Models
      class Db

        def initialize path_to_mongoid_config
          ::Mongoid.load!(path_to_mongoid_config, :development)
        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fetcher-mongoid-models-0.0.2 lib/fetcher/mongoid/models/db.rb
fetcher-mongoid-models-0.0.1 lib/fetcher/mongoid/models/db.rb
fetcher-mongoid-models-0.0.0 lib/fetcher/mongoid/models/db.rb