Class: Pronto::Formatter::GithubCombinedStatusFormatter
- Inherits:
-
Object
- Object
- Pronto::Formatter::GithubCombinedStatusFormatter
- Defined in:
- lib/pronto/formatter/github_combined_status_formatter.rb
Instance Method Summary collapse
Instance Method Details
#format(messages, repo, _) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/pronto/formatter/github_combined_status_formatter.rb', line 6 def format(, repo, _) client = Github.new(repo) head = repo.head_commit_sha create_status(client, head, .uniq || []) end |