Sha256: f0dcdd83bdbcb119302995dff70f65ade38ffc74d395de94449085dd6b55bbe7

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

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

module Toy
  module Mongo
    extend ActiveSupport::Concern
    include Toy::Store
    include Querying

    class Error < StandardError; end

    included do
      key Toy::Identity::ObjectIdKeyFactory.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toystore-mongo-0.12.0 lib/toy/mongo.rb