Sha256: 1100c4d9046be21244f868581034b23cb379876300e471976ca6c4b4b30fbf41
Contents?: true
Size: 603 Bytes
Versions: 6
Compression:
Stored size: 603 Bytes
Contents
module Shipit class AnonymousUser def email 'anonymous@example.com' end def login 'anonymous' end def name 'Anonymous' end def avatar_url 'https://github.com/images/error/octocat_happy.gif' end def id end def logged_in? false end def stacks_contributed_to [] end def avatar_uri User::DEFAULT_AVATAR.dup end def created_at Time.at(0).utc end alias_method :updated_at, :created_at def read_attribute_for_serialization(attr) public_send(attr) end end end
Version data entries
6 entries across 6 versions & 1 rubygems