2018-07-19 18:43:13 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-11-01 17:35:14 +00:00
|
|
|
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
|