Sha256: 699c266e8d2b1ff9aea7b295b8032273fdf22c2c055166dc97b1a8bfd8d5b273
Contents?: true
Size: 429 Bytes
Versions: 42
Compression:
Stored size: 429 Bytes
Contents
module OpenStax module Accounts class AnonymousAccount < Account include Singleton before_save { false } def initialize(attributes=nil) super self.id = nil self.openstax_uid = nil self.username = 'anonymous' self.first_name = 'Guest' self.last_name = 'User' end def is_anonymous? true end end end end
Version data entries
42 entries across 42 versions & 1 rubygems