Sha256: 2a2c83f569ba011b8f423f086ab45be5bbcd5f184546a1a95cfd17c752e11965

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'usps_intelligent_barcode'

barcode_id = '01'
service_type = '234'
mailer_id = '567094'
serial_number = '987654321'
routing_code = '01234567891'
barcode = Imb::Barcode.new(barcode_id,
                           service_type,
                           mailer_id,
                           serial_number,
                           routing_code)
p barcode.barcode_letters
# => "AADTFFDFTDADTAADAATFDTDDAAADDTDTTDAFADADDDTFFFDDTTTADFAAADFTDAADA"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
usps_intelligent_barcode-1.0.0 examples/example.rb
usps_intelligent_barcode-0.3.1 examples/example.rb