Sha256: 9db7e81eedb0000f61318aaa9670053413a6df9cfa04d9acedbd730a48ec3169

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

class ForgotPasswordToken < SecureToken
  rad.extension :forgot_password_token, self

  attr_accessor :user_id
  def user
    _cache[:user] ||= User.by_id user_id
  end
  def user= user
    _cache[:user] = user
    self.user_id = user._id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_users-0.0.2 app/models/user/forgot_password_token.rb