-
Prawn
-
RQRCode
On your pdf, do: pdf.qrcode(@qrcode) and your qrcode will be drawn in the pdf.
Prawn::Document::qrcode(qrcode,module_size=4,module_factor=1.1)
Renders a qrcode.
qrcode: An object of the module RQRCode
module_size: The size of the black and white blocks in the qrcode
module_factor: The size of the drawn blocks (the black ones) are multiplied with this factor.