Class | Barby::GS1128 |
In: |
lib/barby/barcode/gs1_128.rb
|
Parent: | Code128 |
AKA EAN-128, UCC-128
application_identifier | [RW] |
# File lib/barby/barcode/gs1_128.rb, line 11 11: def initialize(data, type, ai) 12: self.application_identifier = ai 13: super(data, type) 14: end
# File lib/barby/barcode/gs1_128.rb, line 30 30: def application_identifier_encoding 31: encodings[application_identifier_number] 32: end
# File lib/barby/barcode/gs1_128.rb, line 26 26: def application_identifier_number 27: values[application_identifier] 28: end
TODO: Not sure this is entirely right
# File lib/barby/barcode/gs1_128.rb, line 18 18: def data 19: FNC1+application_identifier+super 20: end