Class: C2eCore::Drops::TerminalFinancialReportDrop

Inherits:
BaseDrop
  • Object
show all
Defined in:
/build/app/mailers/c2e_core/drops/terminal_financial_report_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(terminal_financial_report) ⇒ TerminalFinancialReportDrop

Returns a new instance of TerminalFinancialReportDrop.



6
7
8
9
# File '/build/app/mailers/c2e_core/drops/terminal_financial_report_drop.rb', line 6

def initialize(terminal_financial_report)
  super()
  @terminal_financial_report = terminal_financial_report
end

Instance Method Details

#dataString

Returns - Content of the financial report from the terminal. E.g.: “22/01/24, speedlo s.r.o., …”.

Returns:

  • (String)
    • Content of the financial report from the terminal. E.g.: “22/01/24, speedlo s.r.o., …”.



12
13
14
# File '/build/app/mailers/c2e_core/drops/terminal_financial_report_drop.rb', line 12

def data
  @terminal_financial_report.data
end