Class: Pronto::Gitlab
Instance Method Summary
collapse
Methods inherited from Client
#env_pull_id, #initialize
Constructor Details
This class inherits a constructor from Pronto::Client
Instance Method Details
3
4
5
6
7
8
9
|
# File 'lib/pronto/gitlab.rb', line 3
def (sha)
@comment_cache[sha.to_s] ||= begin
client.(slug, sha, per_page: 500).map do ||
Comment.new(sha, .note, .path, .line)
end
end
end
|
11
12
13
14
15
16
|
# File 'lib/pronto/gitlab.rb', line 11
def ()
@config.logger.log("Creating commit comment on #{.sha}")
client.(slug, .sha, .body,
path: .path, line: .position,
line_type: 'new')
end
|