debian-mirror-gitlab/lib/api/entities/user_activity.rb
2020-03-13 15:44:24 +05:30

11 lines
239 B
Ruby

# frozen_string_literal: true
module API
module Entities
class UserActivity < Grape::Entity
expose :username
expose :last_activity_on
expose :last_activity_on, as: :last_activity_at # Back-compat
end
end
end