Class: Prawn::SwissQRBill::Sections::ReceiptAcceptance

Inherits:
Section
  • Object
show all
Defined in:
lib/prawn/swiss_qr_bill/sections/receipt_acceptance.rb

Overview

Acceptance point section at receipt

Constant Summary collapse

KEY =
'receipt.acceptance'

Instance Attribute Summary

Attributes inherited from Section

#doc, #specs

Instance Method Summary collapse

Methods inherited from Section

#initialize

Constructor Details

This class inherits a constructor from Prawn::SwissQRBill::Sections::Section

Instance Method Details

#drawObject



10
11
12
13
14
# File 'lib/prawn/swiss_qr_bill/sections/receipt_acceptance.rb', line 10

def draw
  box do
    label I18n.t('acceptance', scope: i18n_scope), align: :right
  end
end