class RockBooks::TxOneAccount

Attributes

account_code[R]
context[R]
data[R]

Public Class Methods

new(data, report_context) click to toggle source
# File lib/rock_books/reports/tx_one_account.rb, line 18
def initialize(data, report_context)
  @data = data
  @context = report_context
end

Public Instance Methods

generate() click to toggle source
# File lib/rock_books/reports/tx_one_account.rb, line 24
def generate
  ErbHelper.render_hashes('text/tx_one_account.txt.erb', data, template_presentation_context)
end