Class: RailsExecution::Services::Notifier
- Inherits:
-
Object
- Object
- RailsExecution::Services::Notifier
- Defined in:
- lib/rails_execution/services/notifier.rb
Instance Method Summary collapse
- #add_comment(_commenter, _content) ⇒ Object
- #after_approve(_reviewer) ⇒ Object
- #after_assign_reviewers(_editor, _new_reviewer_ids) ⇒ Object
- #after_close ⇒ Object
- #after_create ⇒ Object
- #after_execute_fail(_executor) ⇒ Object
- #after_execute_success(_executor) ⇒ Object
- #after_reject(_reviewer) ⇒ Object
- #after_reopen ⇒ Object
- #after_update_script(_editor, _reviewer_ids) ⇒ Object
-
#initialize(task) ⇒ Notifier
constructor
A new instance of Notifier.
Constructor Details
#initialize(task) ⇒ Notifier
Returns a new instance of Notifier.
5 6 7 |
# File 'lib/rails_execution/services/notifier.rb', line 5 def initialize(task) @task = task end |
Instance Method Details
#add_comment(_commenter, _content) ⇒ Object
19 |
# File 'lib/rails_execution/services/notifier.rb', line 19 def add_comment(_commenter, _content); end |
#after_approve(_reviewer) ⇒ Object
15 |
# File 'lib/rails_execution/services/notifier.rb', line 15 def after_approve(_reviewer); end |
#after_assign_reviewers(_editor, _new_reviewer_ids) ⇒ Object
13 |
# File 'lib/rails_execution/services/notifier.rb', line 13 def after_assign_reviewers(_editor, _new_reviewer_ids); end |
#after_close ⇒ Object
10 |
# File 'lib/rails_execution/services/notifier.rb', line 10 def after_close; end |
#after_create ⇒ Object
9 |
# File 'lib/rails_execution/services/notifier.rb', line 9 def after_create; end |
#after_execute_fail(_executor) ⇒ Object
17 |
# File 'lib/rails_execution/services/notifier.rb', line 17 def after_execute_fail(_executor); end |
#after_execute_success(_executor) ⇒ Object
16 |
# File 'lib/rails_execution/services/notifier.rb', line 16 def after_execute_success(_executor); end |
#after_reject(_reviewer) ⇒ Object
14 |
# File 'lib/rails_execution/services/notifier.rb', line 14 def after_reject(_reviewer); end |
#after_reopen ⇒ Object
11 |
# File 'lib/rails_execution/services/notifier.rb', line 11 def after_reopen; end |
#after_update_script(_editor, _reviewer_ids) ⇒ Object
12 |
# File 'lib/rails_execution/services/notifier.rb', line 12 def after_update_script(_editor, _reviewer_ids); end |