Sha256: 2dfa77e3a995fc04af9dead7046e02e05153729186968eac1da3cc2e698d7f15

Contents?: true

Size: 516 Bytes

Versions: 4

Compression:

Stored size: 516 Bytes

Contents

module Doorkeeper
  module Orm
    module Mongoid5
      def self.initialize_models!
        require 'doorkeeper/orm/mongoid5/access_grant'
        require 'doorkeeper/orm/mongoid5/access_token'
        require 'doorkeeper/orm/mongoid5/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 & 2 rubygems

Version Path
doorkeeper-mongodb-4.0.1 lib/doorkeeper/orm/mongoid5.rb
doorkeeper-mongodb-4.0.0 lib/doorkeeper/orm/mongoid5.rb
doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongoid5.rb
dd-doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongoid5.rb