summaryrefslogtreecommitdiff
path: root/app/serializers/time_trackable_entity.rb
blob: e81cd7bec72aecf9938996c68308eeb0145abdc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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