Class: Gitlab::Git::WikiPageVersion

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/git/wiki_page_version.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(commit, format) ⇒ WikiPageVersion

Returns a new instance of WikiPageVersion.


8
9
10
11
# File 'lib/gitlab/git/wiki_page_version.rb', line 8

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

Instance Attribute Details

#commitObject (readonly)

Returns the value of attribute commit


6
7
8
# File 'lib/gitlab/git/wiki_page_version.rb', line 6

def commit
  @commit
end

#formatObject (readonly)

Returns the value of attribute format


6
7
8
# File 'lib/gitlab/git/wiki_page_version.rb', line 6

def format
  @format
end