Class: Geri::PasswordReset

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming
Includes:
ActiveModel::Conversion, ActiveModel::Validations
Defined in:
app/models/geri/password_reset.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ PasswordReset

Returns a new instance of PasswordReset.



9
10
11
# File 'app/models/geri/password_reset.rb', line 9

def initialize(options={})
  @email    = options[:email]
end

Instance Attribute Details

#emailObject (readonly)

Returns the value of attribute email.



7
8
9
# File 'app/models/geri/password_reset.rb', line 7

def email
  @email
end

Instance Method Details

#persisted?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/models/geri/password_reset.rb', line 13

def persisted?
  false
end