debian-mirror-gitlab/lib/gitlab/git/tag.rb

18 lines
320 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module Gitlab
module Git
class Tag < Ref
attr_reader :object_sha
2017-09-10 17:25:29 +05:30
def initialize(repository, name, target, target_commit, message = nil)
super(repository, name, target, target_commit)
2017-08-17 22:00:37 +05:30
@message = message
end
def message
encode! @message
end
end
end
end