Class: ODDB::OdbaExporter::EanLine

Inherits:
PackageLine show all
Defined in:
ext/export/src/oddbdat.rb

Constant Summary

LENGTH =
8

Instance Method Summary (collapse)

Methods inherited from PackageLine

#initialize

Methods inherited from Line

#content, #empty?, #initialize, #to_s

Constructor Details

This class inherits a constructor from ODDB::OdbaExporter::PackageLine

Instance Method Details

- (Object) barcode



583
584
585
# File 'ext/export/src/oddbdat.rb', line 583

def barcode
  @package.barcode
end

- (Object) structure



573
574
575
576
577
578
579
580
581
582
# File 'ext/export/src/oddbdat.rb', line 573

def structure
  {
    1    =>  '06',
    2    =>  @date,
    3    =>  @package.oid,
    4    =>  'E13',
    5    =>  barcode,
    6    =>  '4',
  }
end