Class: PartnerService::Reports::ServiceTypeService

Inherits:
BaseService
  • Object
show all
Defined in:
app/services/partner_service/reports/service_type_service.rb

Instance Attribute Summary

Attributes inherited from BaseService

#params, #restaurants

Instance Method Summary collapse

Methods inherited from BaseService

#build_reports_by_day, #build_reports_by_hour, #initialize

Methods included from CopperHelper

#copper_sort_restaurants

Constructor Details

This class inherits a constructor from PartnerService::Reports::BaseService

Instance Method Details

#build_reports_service_type_by_dayObject



8
9
10
# File 'app/services/partner_service/reports/service_type_service.rb', line 8

def build_reports_service_type_by_day
  service_type_report_by('day')
end

#build_reports_service_type_by_hourObject



4
5
6
# File 'app/services/partner_service/reports/service_type_service.rb', line 4

def build_reports_service_type_by_hour
  service_type_report_by('hour')
end