github.com/jkthorne/qrencode
0.1.0 / published Jul 4, 2019 / repository
wrapper for quencode
qrencode
A library to convert text or data to a QR Code
Installation
-
Dependencies
install qrencode
a. MacOS
brew install qrencodeb. Ubuntu
sudo apt install qrencode -
Add the dependency to your
shard.yml:dependencies: qrencode: github: wontruefree/qrencode -
Run
shards install
Usage
Quickstart
require "qrencode"
QR.print("this is a smoke test")
Construct Object
require "qrencode"
qr_code = QR.encode("this is a smoke test")
qr_code.level = 3
qr_code.print
Demo
Contributors
- Jack Thorne - creator and maintainer
