gitlab-org--gitlab-foss/lib/gitlab/compare_result.rb

10 lines
172 B
Ruby
Raw Normal View History

module Gitlab
class CompareResult
attr_reader :commits, :diffs
def initialize(compare)
@commits, @diffs = compare.commits, compare.diffs
end
end
end