Sha256: d96f50b668430a9ccfa3cd0373ca95b82a5a469d78c86abb4695d8cf8e881f9d

Contents?: true

Size: 272 Bytes

Versions: 17

Compression:

Stored size: 272 Bytes

Contents

require 'mongoid'
require 'simple_token_authentication/adapter'

module SimpleTokenAuthentication
  module Adapters
    class MongoidAdapter
      extend SimpleTokenAuthentication::Adapter

      def self.base_class
        ::Mongoid::Document
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
simple_token_authentication-1.18.1 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.18.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.17.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.15.1 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.15.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.14.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.13.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.12.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.11.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.10.1 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.10.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.9.1 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.9.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.8.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
stn-simple_token_authentication-1.7.1 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.7.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb
simple_token_authentication-1.6.0 lib/simple_token_authentication/adapters/mongoid_adapter.rb