Class: MalawiHivProgramReports::Clinic::StockCardReport
- Inherits:
-
Object
- Object
- MalawiHivProgramReports::Clinic::StockCardReport
- Defined in:
- app/services/malawi_hiv_program_reports/clinic/stock_card_report.rb
Overview
Generates a stock card report for a clinic
Instance Method Summary collapse
- #find_report ⇒ Object
-
#initialize(start_date:, end_date:, **_kwargs) ⇒ StockCardReport
constructor
A new instance of StockCardReport.
Constructor Details
#initialize(start_date:, end_date:, **_kwargs) ⇒ StockCardReport
Returns a new instance of StockCardReport.
7 8 9 10 |
# File 'app/services/malawi_hiv_program_reports/clinic/stock_card_report.rb', line 7 def initialize(start_date:, end_date:, **_kwargs) @start_date = ActiveRecord::Base.connection.quote(start_date) @end_date = ActiveRecord::Base.connection.quote(end_date) end |
Instance Method Details
#find_report ⇒ Object
12 13 14 15 |
# File 'app/services/malawi_hiv_program_reports/clinic/stock_card_report.rb', line 12 def find_report # TODO: Implement this stock_card_report end |