Module: Sem4r::ReportAccountExtension
- Included in:
- Account
- Defined in:
- lib/sem4r/v13_report/report_account_extension.rb
Instance Method Summary collapse
- #p_reports(refresh = false) ⇒ Object
-
#report(&block) ⇒ Object
Reports - Service Report.
- #reports(refresh = false) ⇒ Object
Instance Method Details
#p_reports(refresh = false) ⇒ Object
35 36 37 38 39 |
# File 'lib/sem4r/v13_report/report_account_extension.rb', line 35 def p_reports(refresh = false) reports(refresh).each do |report| puts report.to_s end end |
#report(&block) ⇒ Object
Reports - Service Report
31 32 33 |
# File 'lib/sem4r/v13_report/report_account_extension.rb', line 31 def report(&block) Report.new(self, &block) end |
#reports(refresh = false) ⇒ Object
41 42 43 44 |
# File 'lib/sem4r/v13_report/report_account_extension.rb', line 41 def reports(refresh = false) _reports unless @reports and !refresh @reports end |