Module: Curate::DeviseUserShim

Extended by:
ActiveSupport::Concern
Included in:
Account
Defined in:
app/models/curate/devise_user_shim.rb

Overview

Here there be Dragons!

These are the methods, to the best of my ability, that are necessary to use the base class as a replacement for User.

Why might we want to do this? Because who knows what all needs to happen when a user is created, and we want to detangle the user creation/maintenance process.

Defined Under Namespace

Modules: ClassMethods, ToAdaptorShim

Class Method Summary collapse

Class Method Details

.wrapping_classObject



16
17
18
# File 'app/models/curate/devise_user_shim.rb', line 16

def wrapping_class
  @wrapping_class
end

.wrapping_class=(value) ⇒ Object



20
21
22
# File 'app/models/curate/devise_user_shim.rb', line 20

def wrapping_class=(value)
  @wrapping_class = value
end