Class: ODDB::OdbaExporter::EanLine

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

Constant Summary collapse

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

#barcodeObject



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

def barcode
	@package.barcode
end

#structureObject



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

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