Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 378 Bytes

Rqrcode::Renderer

Render QR codes from rails as images or SVG.

Auto-negotiates based on requested format and browser acceptance.

Usage

Put it in your Gemfile:

gem rqrcode-renderer

Use it in an action:

class MyController < ActionController::Base
  def my_action
    render qrcode: "something"
  end
end

Add scale: 5 etc. to make it bigger.

Something went wrong with that request. Please try again.