BigW Consortium Gitlab

time_trackable_entity.rb 221 Bytes
Newer Older
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