ec7db295d2
- Refactored cycle analytics class to extract DB logic - Reuse logic in new events fetcher - Started adding cycle analytics events class and spec (still not functional)
15 lines
300 B
Ruby
15 lines
300 B
Ruby
module Gitlab
|
|
module CycleAnalytics
|
|
class Events
|
|
def initialize(project:, from:)
|
|
@project = project
|
|
@from = from
|
|
@fetcher = EventsFetcher.new(project: project, from: from)
|
|
end
|
|
|
|
def issue_events
|
|
@fetcher.fetch_issues
|
|
end
|
|
end
|
|
end
|
|
end
|