Class: Pronto::Formatter::GithubCombinedStatusFormatter
- Defined in:
- lib/pronto/formatter/github_combined_status_formatter.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Class Method Details
.name ⇒ Object
6 7 8 |
# File 'lib/pronto/formatter/github_combined_status_formatter.rb', line 6 def self.name 'github_combined_status' end |
Instance Method Details
#format(messages, repo, _) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/pronto/formatter/github_combined_status_formatter.rb', line 10 def format(, repo, _) client = Github.new(repo) head = repo.head_commit_sha create_status(client, head, .uniq || []) end |