class RedTokenAuth::Configuration
Attributes
email_regex[RW]
password_length[RW]
Public Class Methods
new()
click to toggle source
# File lib/red_token_auth/configuration.rb, line 6 def initialize # Basically, just make sure there only one "@" in the email. @email_regex = /\A[^@\s]+@[^@\s]+\z/ @password_length = 8..20 end