Sha256: ce64a77cbe5a2e501edb312bcf509432ec002dc4e62b17c4303fe070c013ad9f

Contents?: true

Size: 324 Bytes

Versions: 8

Compression:

Stored size: 324 Bytes

Contents

module Devise
  module Models
    module ClientOwnable
      extend ActiveSupport::Concern
      included do
        
        has_many :oauth_clients,
                     class_name: "Devise::Oauth::Client",
                    foreign_key: "owner_id",
                      dependent: :destroy
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
devise_oauth-3.0.3 lib/devise/models/client_ownable.rb
devise_oauth-3.0.2 lib/devise/models/client_ownable.rb
devise_oauth-3.0.1 lib/devise/models/client_ownable.rb
devise_oauth-3.0.0 lib/devise/models/client_ownable.rb
devise_oauth-2.0.3 lib/devise/models/client_ownable.rb
devise_oauth-2.0.2 lib/devise/models/client_ownable.rb
devise_oauth-2.0.1 lib/devise/models/client_ownable.rb
devise_oauth-2.0.0 lib/devise/models/client_ownable.rb