Sha256: f9423a6ce9d9b0fb5c6f9604b787b5fcb796d98dc3ac37bdad8cad3e7ee7c462

Contents?: true

Size: 516 Bytes

Versions: 4

Compression:

Stored size: 516 Bytes

Contents

module Doorkeeper
  module Orm
    module Mongoid3
      def self.initialize_models!
        require 'doorkeeper/orm/mongoid3/access_grant'
        require 'doorkeeper/orm/mongoid3/access_token'
        require 'doorkeeper/orm/mongoid3/application'
      end

      def self.initialize_application_owner!
        require 'doorkeeper/models/concerns/ownership'

        Doorkeeper::Application.send :include, Doorkeeper::Models::Ownership
      end

      def self.check_requirements!(_config); end
    end
  end
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongoid3.rb
dd-doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongoid3.rb
doorkeeper-2.2.2 lib/doorkeeper/orm/mongoid3.rb
doorkeeper-2.2.1 lib/doorkeeper/orm/mongoid3.rb