summaryrefslogtreecommitdiff
path: root/lib/gitlab/git/wiki_page_version.rb
blob: d5e7e70fd313e9bfdce609c64414937f38634165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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