Class: Pronto::Formatter::PullRequestFormatter
Instance Method Summary
collapse
#client_module, #format, #pretty_name
Instance Method Details
4
5
6
7
8
|
# File 'lib/pronto/formatter/pull_request_formatter.rb', line 4
def (messages, client, repo)
sha = repo.head_commit_sha
= client.(sha)
()
end
|
10
11
12
13
14
|
# File 'lib/pronto/formatter/pull_request_formatter.rb', line 10
def (client, )
.each { || client.() }
rescue Octokit::UnprocessableEntity, HTTParty::Error => e
$stderr.puts "Failed to post: #{e.message}"
end
|