Move query object to app/queries/ and doc it

This commit is contained in:
Pau Perez
2021-01-14 10:47:25 +01:00
parent e8ef4acb2b
commit d18e79ab19
2 changed files with 2 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
# Fetches the customers of the specified enterprise including the aggregated balance across the
# customer's orders. That is, we get the total balance for each customer with this enterprise.
class CustomersWithBalance
def initialize(enterprise)
@enterprise = enterprise