# frozen_string_literal: true module Prawn module SwissQRBill # Extend prawn with *swiss_qr_bill* methods module Extension def swiss_qr_bill(data, options = {}) Prawn::SwissQRBill::Bill.new(self, data, options).draw end def swiss_qr_bill_sections canvas do Prawn::SwissQRBill::DebugSection.new(self).draw end end end end end