Class: BrDanfe::DanfeLib::NfeLib::InfadicVol

Inherits:
Object
  • Object
show all
Defined in:
lib/br_danfe/danfe_lib/nfe_lib/infadic_vol.rb

Instance Method Summary collapse

Constructor Details

#initialize(xml, pdf) ⇒ InfadicVol

Returns a new instance of InfadicVol.



5
6
7
8
9
# File 'lib/br_danfe/danfe_lib/nfe_lib/infadic_vol.rb', line 5

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

Instance Method Details

#renderObject



11
12
13
14
# File 'lib/br_danfe/danfe_lib/nfe_lib/infadic_vol.rb', line 11

def render
  render_volume_title
  render_volume
end