2016-11-22 05:46:02 -05:00
|
|
|
module Gitlab
|
|
|
|
module CycleAnalytics
|
|
|
|
module Summary
|
|
|
|
class Base
|
|
|
|
def initialize(project:, from:)
|
|
|
|
@project = project
|
|
|
|
@from = from
|
|
|
|
end
|
|
|
|
|
|
|
|
def title
|
2017-05-03 22:05:38 -04:00
|
|
|
raise NotImplementedError.new("Expected #{self.name} to implement title")
|
2016-11-22 05:46:02 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
def value
|
|
|
|
raise NotImplementedError.new("Expected #{self.name} to implement value")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|