summaryrefslogtreecommitdiff
path: root/lib/api/entities/project_daily_fetches.rb
blob: 8797aeb9521c9d294c46b384b85ea9835e09d96c (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

module API
  module Entities
    class ProjectDailyFetches < Grape::Entity
      expose :fetch_count, as: :count, documentation: { type: 'integer', example: 3 }
      expose :date, documentation: { type: 'date', example: '2022-01-01' }
    end
  end
end