gitlab-org--gitlab-foss/lib/gitlab/cycle_analytics/summary/deploy.rb

12 lines
220 B
Ruby
Raw Normal View History

module Gitlab
module CycleAnalytics
module Summary
class Deploy < Base
def value
@value ||= @project.deployments.where("created_at > ?", @from).count
end
end
end
end
end