Module: Barjillo::ActAsAuthModel::AttrAccessor

Defined in:
lib/barjillo/act_as_auth_model.rb

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object

Hook for attr_accessor virtual attributes.

:password



29
30
31
32
33
# File 'lib/barjillo/act_as_auth_model.rb', line 29

def self.included(model)
  model.class_eval do
    attr_accessor :password
  end
end