Sha256: ffe82148103eef6005afce952c9f5f92b8fc16f738fba4a074638db64f41c79f

Contents?: true

Size: 286 Bytes

Versions: 6

Compression:

Stored size: 286 Bytes

Contents

module MultiEncoder
  module Helpers
    def barcode(string, options = {})
      image = BarcodeImage.new string, options
      image_tag image.href
    end

    def qrcode(string, options = {})
      image = QRcodeImage.new string, options
      image_tag image.href
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
barcode_encoder-0.0.9 lib/multi_encoder/helpers.rb
multi_encoder-0.0.9 lib/multi_encoder/helpers.rb
multi_encoder-0.0.8 lib/multi_encoder/helpers.rb
multi_encoder-0.0.7 lib/multi_encoder/helpers.rb
multi_encoder-0.0.6 lib/multi_encoder/helpers.rb
multi_encoder-0.0.5 lib/multi_encoder/helpers.rb