Sha256: 09cfa0b1d0ec6c3d7b0482ed6d48e0a3d7433537cc4e61fea6a75f4e0a24da8b
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
class User < Forgery attr_reader :name, :sis_id, :login_id, :email, :time_zone def initialize (name, sis, login, email, time_zone) @name = name @sis_id = sis @login_id = login @email = email @time_zone = time_zone end def self.random fn = Forgery('name').first_name ln = Forgery('name').last_name e = "tbyington+#{fn}.#{ln}@instructure.com" User.new( "#{fn} #{ln}", (3000+rand(1000000)), e, e, Forgery('time').zone ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bobross-0.1.6 | lib/models/user.rb |