Welcome to mirror list, hosted at ThFree Co, Russian Federation.

wiki_page_version.rb « git « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 475a9d4d1b950e13de309dc0db551ca2478cc7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Gitlab
  module Git
    class WikiPageVersion
      attr_reader :commit, :format

      def initialize(commit, format)
        @commit = commit
        @format = format
      end

      delegate :message, :sha, :id, :author_name, :authored_date, to: :commit
    end
  end
end