Welcome to mirror list, hosted at ThFree Co, Russian Federation.

time_trackable_entity.rb « serializers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 613d19703a4f0365e343a534da8a225966993a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module TimeTrackableEntity
  extend ActiveSupport::Concern
  extend Grape

  included do
    expose :time_estimate
    expose :total_time_spent
    expose :human_time_estimate
    expose :human_total_time_spent
  end
end