Closed syphax-bouazzouni closed 9 months ago
Attention: 14 lines
in your changes are missing coverage. Please review.
Comparison is base (
df1a7bb
) 86.19% compared to head (51cf285
) 85.87%.
Files | Patch % | Lines |
---|---|---|
lib/goo/base/settings/hooks.rb | 80.00% | 6 Missing :warning: |
lib/goo/utils/callbacks_utils.rb | 45.45% | 6 Missing :warning: |
lib/goo/base/resource.rb | 50.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Changes
Added two dsl to the setting of a model,
after_save(list_methods)
andafter_destroy(list_methods)
that will be called when a model is saved or deleted, calling and running each of the method listed as argument in the hook declarationExample