Sha256: 298089181e1cb4decddcc13567d1f923a19206fde685f135f4ed31d56d76a2ef
Contents?: true
Size: 260 Bytes
Versions: 10
Compression:
Stored size: 260 Bytes
Contents
# frozen_string_literal: true module Shipit class UserSerializer < ActiveModel::Serializer attributes :id, :name, :email, :login, :avatar_url, :created_at, :updated_at, :github_id, :anonymous def anonymous !object.logged_in? end end end
Version data entries
10 entries across 10 versions & 1 rubygems