Class: BrDanfe::MdfeLib::Notes

Inherits:
Object
  • Object
show all
Defined in:
lib/br_danfe/mdfe_lib/notes.rb

Constant Summary collapse

MAX_CHARS_ON_LINE =
120

Instance Method Summary collapse

Constructor Details

#initialize(pdf, xml) ⇒ Notes

Returns a new instance of Notes.



6
7
8
9
# File 'lib/br_danfe/mdfe_lib/notes.rb', line 6

def initialize(pdf, xml)
  @pdf = pdf
  @xml = xml
end

Instance Method Details

#generateObject



11
12
13
14
15
# File 'lib/br_danfe/mdfe_lib/notes.rb', line 11

def generate
  title
  aditional_information_first_page
  aditional_information_taxpayer
end