Sha256: 9657afcc57399ea31580b357addea582681a4184d0706795138600887ba00272

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

require 'plucky'
require 'toy'
require 'toy/extensions/bson_object_id'
require 'toy/identity/object_id_key_factory'
require 'toy/mongo/querying'
require 'adapter/mongo'

module Toy
  module Mongo
    extend ActiveSupport::Concern

    included do
      include Toy::Store
      include Querying

      key(Toy::Identity::ObjectIdKeyFactory.new)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
toystore-mongo-0.10.0 lib/toy/mongo.rb
toystore-mongo-0.9.0 lib/toy/mongo.rb
toystore-mongo-0.8.2 lib/toy/mongo.rb
toystore-mongo-0.8.1 lib/toy/mongo.rb
toystore-mongo-0.8.0 lib/toy/mongo.rb