blob: 4c1d19774f5294e01c30315ea13d00776c91f57b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module Gitlab
module CycleAnalytics
class EventsFetcher
def initialize(project:, options:)
@query = EventsQuery.new(project: project, options: options)
end
def fetch(stage:)
@query.execute(stage) do |stage_class, base_query|
stage_class.query(base_query)
end
end
end
end
end
|