summaryrefslogtreecommitdiff
path: root/app/serializers/time_trackable_entity.rb
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