Project

cuecat

0.0
No commit activity in last 3 years
No release in over 3 years
a (very) small library for working with cuecat codes
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.0
>= 1.0
 Project Readme

A small class for decoding the values returned when scanning a barcode with the cheaply available cuecat scanner.

Installation¶ ↑

gem install cuecat

Usage¶ ↑

puts CueCat.valid?(".C3nZC3nZC3n2CNjXCNz0DxnY.cGen.ENr7CNT3Chz3ENj1CG.")
=> true

puts CueCat.ean?(".C3nZC3nZC3n2CNjXCNz0DxnY.cGen.ENr7CNT3Chz3ENj1CG.")
=> true

code = CueCat.new(".C3nZC3nZC3n2CNjXCNz0DxnY.cGen.ENr7CNT3Chz3ENj1CG.")
puts code.code_type

=> "IBN"
puts code.id

=> "000000005112157601"
puts code.value
=> "978184354916"

Further Reader¶ ↑

Contributing¶ ↑

Source code is publicly available @ github.com/yob/cuecat/tree/master. Patches welcome, preferably via a git repo I can pull from.