Method: GitLab::Issue#add_comment

Defined in:
lib/GitLab/issue.rb

#add_comment(note) ⇒ Object



132
133
134
135
136
# File 'lib/GitLab/issue.rb', line 132

def add_comment note
  comment = GitLab::Comment.new(issue_iid: @iid, body: note)
  @comments << comment
  comment.create
end