module StrongPasswordField::ClassMethods

Public Instance Methods

has_strong_password(field=:password, **options) click to toggle source
# File lib/strong_password_field.rb, line 20
def has_strong_password(field=:password, **options)
  self.spf_password_field = field
  self.spf_options = options
end