Commit 8879a1f8fdb9fd1a798e57cb5216e30af2387617
Committed by
Paulo Meireles
1 parent
256b6b70
Exists in
master
and in
29 other branches
[Mezuro] Refactoring internal method as private
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
plugins/mezuro/lib/mezuro_plugin/project_content.rb
... | ... | @@ -42,10 +42,6 @@ client.first_result_after(name, date) |
42 | 42 | @result_history ||= module_result_client.result_history(project.name, module_name) |
43 | 43 | end |
44 | 44 | |
45 | - def module_result_client | |
46 | - @module_result_client ||= Kalibro::Client::ModuleResultClient.new | |
47 | - end | |
48 | - | |
49 | 45 | after_save :send_project_to_service |
50 | 46 | after_destroy :remove_project_from_service |
51 | 47 | |
... | ... | @@ -67,4 +63,9 @@ client.first_result_after(name, date) |
67 | 63 | def remove_project_from_service |
68 | 64 | Kalibro::Client::ProjectClient.remove(name) |
69 | 65 | end |
66 | + | |
67 | + def module_result_client | |
68 | + @module_result_client ||= Kalibro::Client::ModuleResultClient.new | |
69 | + end | |
70 | 70 | end |
71 | + | ... | ... |