class Zint::QRCode

Constants

ECC_H
ECC_L
ECC_M
ECC_Q

Public Class Methods

new(value, ecc=ECC_L, *options) click to toggle source
Calls superclass method Zint::Barcode::new
# File lib/zint/qrcode.rb, line 8
def initialize(value, ecc=ECC_L, *options)
  super(value, Zint::BARCODE_QRCODE, options[0])
  @zint_symbol[:option_1] = ecc
  return self
end