Sha256: 7d78f441ed0899e2e07a21a1e10cbbcf0ac0bbfe2c97c6bfd1480fe14f8f7eab

Contents?: true

Size: 353 Bytes

Versions: 26

Compression:

Stored size: 353 Bytes

Contents

require 'devise/models'

module Devise
  module Models
    module Oauth2Providable
      extend ActiveSupport::Concern
      included do
        has_many :access_tokens, :class_name => 'Devise::Oauth2Providable::AccessToken'
        has_many :authorization_codes, :class_name => 'Devise::Oauth2Providable::AuthorizationCode'
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 5 rubygems

Version Path
devise_oauth2_providable-1.0.4 lib/devise/oauth2_providable/models/oauth2_providable.rb
devise_oauth2_providable-1.0.3 lib/devise/oauth2_providable/models/oauth2_providable.rb
devise_oauth2_providable-1.0.2 lib/devise/oauth2_providable/models/oauth2_providable.rb
devise_oauth2_providable-1.0.1 lib/devise/oauth2_providable/models/oauth2_providable.rb
devise_oauth2_providable-1.0.0 lib/devise/oauth2_providable/models/oauth2_providable.rb
devise_oauth2_providable-1.0.0.beta1 lib/devise/oauth2_providable/models/oauth2_providable.rb