2014-02-06 17:16:59 -05:00
|
|
|
class GroupUserSerializer < BasicUserSerializer
|
2018-12-06 06:18:52 -05:00
|
|
|
include UserPrimaryGroupMixin
|
|
|
|
|
|
|
|
attributes :name,
|
|
|
|
:title,
|
|
|
|
:last_posted_at,
|
|
|
|
:last_seen_at,
|
|
|
|
:added_at
|
2018-11-01 00:33:28 -04:00
|
|
|
|
|
|
|
def include_added_at
|
|
|
|
object.respond_to? :added_at
|
|
|
|
end
|
2018-12-06 06:18:52 -05:00
|
|
|
|
2014-02-06 17:16:59 -05:00
|
|
|
end
|