Class: CheckerJobs::Notifiers::BugsnagDefaultFormatter
- Inherits:
-
Object
- Object
- CheckerJobs::Notifiers::BugsnagDefaultFormatter
show all
- Includes:
- FormatterHelpers
- Defined in:
- lib/checker_jobs/notifiers/bugsnag_default_formatter.rb
Constant Summary
FormatterHelpers::GITHUB_URL_FORMAT
Instance Method Summary
collapse
#format_entry, #human_check_name, #repository_url
Constructor Details
Returns a new instance of BugsnagDefaultFormatter.
4
5
6
7
8
|
# File 'lib/checker_jobs/notifiers/bugsnag_default_formatter.rb', line 4
def initialize(check, count, entries)
@check = check
@count = count
@entries = entries
end
|
Instance Method Details
#context ⇒ Object
18
19
20
|
# File 'lib/checker_jobs/notifiers/bugsnag_default_formatter.rb', line 18
def context
"checker_jobs"
end
|
#grouping_hash ⇒ Object
22
23
24
|
# File 'lib/checker_jobs/notifiers/bugsnag_default_formatter.rb', line 22
def grouping_hash
error_message
end
|
#severity ⇒ Object
14
15
16
|
# File 'lib/checker_jobs/notifiers/bugsnag_default_formatter.rb', line 14
def severity
"warning"
end
|
#tab_infos ⇒ Object
26
27
28
|
# File 'lib/checker_jobs/notifiers/bugsnag_default_formatter.rb', line 26
def tab_infos
["triggered_check", triggered_check]
end
|