Class: BrDanfe::CceLib::Footer
- Inherits:
-
Object
- Object
- BrDanfe::CceLib::Footer
- Defined in:
- lib/br_danfe/cce_lib/footer.rb
Instance Method Summary collapse
-
#initialize(pdf) ⇒ Footer
constructor
A new instance of Footer.
- #render ⇒ Object
Constructor Details
#initialize(pdf) ⇒ Footer
Returns a new instance of Footer.
4 5 6 |
# File 'lib/br_danfe/cce_lib/footer.rb', line 4 def initialize(pdf) @pdf = pdf end |
Instance Method Details
#render ⇒ Object
8 9 10 11 12 |
# File 'lib/br_danfe/cce_lib/footer.rb', line 8 def render @pdf.box(height: 110) do @pdf.text I18n.t('cce.legal_note') end end |