Class RQRCode::Renderers::SVG
In: lib/rqrcode-rails3/renderers/svg.rb
Parent: Object

Methods

render  

Public Class methods

Render the SVG from the qrcode string provided from the RQRCode gem

  Options:
  offset - Padding around the QR Code (e.g. 10)
  unit   - How many pixels per module (Default: 11)
  fill   - Background color (e.g "ffffff" or :white)
  color  - Foreground color for the code (e.g. "000000" or :black)

[Validate]