Sha256: 2f349d3e6792443864b202a4ad11887b81667d8f2939ca36671f309182557ac8

Contents?: true

Size: 531 Bytes

Versions: 4

Compression:

Stored size: 531 Bytes

Contents

module Doorkeeper
  module Orm
    module MongoMapper
      def self.initialize_models!
        require 'doorkeeper/orm/mongo_mapper/access_grant'
        require 'doorkeeper/orm/mongo_mapper/access_token'
        require 'doorkeeper/orm/mongo_mapper/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/mongo_mapper.rb
dd-doorkeeper-mongodb-3.0.0 lib/doorkeeper/orm/mongo_mapper.rb
doorkeeper-2.2.2 lib/doorkeeper/orm/mongo_mapper.rb
doorkeeper-2.2.1 lib/doorkeeper/orm/mongo_mapper.rb