blob: 555ecc6be3958f33dbe5e857413b88e9ab03d5ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
module API
module Entities
class ProjectDailyStatistics < Grape::Entity
expose :fetches do
expose :total_fetch_count, as: :total, documentation: { type: 'integer', example: 3 }
expose :fetches, as: :days, using: ProjectDailyFetches, documentation: { is_array: true }
end
end
end
end
|