Sha256: 0f0879857e1d6db1d793a0a35fd4b444adbc0ec9bbd2171ad03983ac23964055

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
doorkeeper-mongodb-4.0.1 lib/doorkeeper/orm/mongoid7.rb
doorkeeper-mongodb-4.0.0 lib/doorkeeper/orm/mongoid7.rb