Skip to content

Improve Service model

Arturo Herrero requested to merge 239036-improve-service-model into master

What does this MR do?

This a refactor to improve the Service model. I haven't changed how the code works, mainly moving methods around.

The best way to review the code is by reviewing commit by commit where I've tried to follow baby steps.

  • Sort default_value_for alphabetically
  • Move all class method together
  • Use braces for array literals: %w[] instead of %w()
  • Improve readability for private class methods
  • Clarify use of #map instead of #pluck

Closes #239036 (closed)

Merge request reports

Loading