Module: Devise::Models::Archangelable

Extended by:
ActiveSupport::Concern
Defined in:
lib/devise/models/archangelable.rb

Overview

Adds Archangel support to your model.

Options

Oauthable adds the following options to devise_for:

* +archangel_providers+: Which providers are avaialble to this model. It expects an array:

    devise_for :database_authenticatable, :archangelable, :archangel_providers => [:twitter]

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.required_fields(klass) ⇒ Object



18
19
20
# File 'lib/devise/models/archangelable.rb', line 18

def self.required_fields(klass)
  []
end