gitlab-org--gitlab-foss/lib/api/entities/user_activity.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
239 B
Ruby
Raw Normal View History

# 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