Sha256: f25abb04a8b01ff89d6a24b4bce12615ac20afd6b5a0dc084e6e697b3dc0cf5c

Contents?: true

Size: 516 Bytes

Versions: 6

Compression:

Stored size: 516 Bytes

Contents

module Doorkeeper
  module Orm
    module Mongoid4
      def self.initialize_models!
        require 'doorkeeper/orm/mongoid4/access_grant'
        require 'doorkeeper/orm/mongoid4/access_token'
        require 'doorkeeper/orm/mongoid4/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

6 entries across 6 versions & 3 rubygems

Version Path
doorkeeper-mongodb-4.0.1 lib/doorkeeper/orm/mongoid4.rb
doorkeeper-mongodb-4.0.0 lib/doorkeeper/orm/mongoid4.rb
doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongoid4.rb
dd-doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongoid4.rb
doorkeeper-2.2.2 lib/doorkeeper/orm/mongoid4.rb
doorkeeper-2.2.1 lib/doorkeeper/orm/mongoid4.rb