class RockBooks::ReceiptsReport
Attributes
context[R]
data[R]
Public Class Methods
new(report_context, data)
click to toggle source
# File lib/rock_books/reports/receipts_report.rb, line 11 def initialize(report_context, data) @context = report_context @data = data end
Public Instance Methods
generate()
click to toggle source
# File lib/rock_books/reports/receipts_report.rb, line 17 def generate ErbHelper.render_hashes('text/receipts_report.txt.erb', data, template_presentation_context) end