diff options
Diffstat (limited to 'app/serializers/time_trackable_entity.rb')
-rw-r--r-- | app/serializers/time_trackable_entity.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/serializers/time_trackable_entity.rb b/app/serializers/time_trackable_entity.rb new file mode 100644 index 00000000000..e81cd7bec72 --- /dev/null +++ b/app/serializers/time_trackable_entity.rb @@ -0,0 +1,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 |