Module: Rantly::Data

Included in:
Rantly
Defined in:
lib/rantly/data.rb

Instance Method Summary collapse

Instance Method Details

#emailObject



2
3
4
# File 'lib/rantly/data.rb', line 2

def email
  "#{string(:alnum)}@#{string(:alnum)}.#{sized(3) { string(:alpha) }}".downcase
end

#passwordObject



6
7
8
# File 'lib/rantly/data.rb', line 6

def password
  sized(8) { string(:alnum) }
end