Class: ODDB::OdbaExporter::AcLimLine

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

Constant Summary

LENGTH =
8

Instance Method Summary (collapse)

Methods inherited from Line

#content, #empty?, #to_s

Constructor Details

- (AcLimLine) initialize(package_oid, line_oid, lim_oid)

A new instance of AcLimLine



373
374
375
376
377
378
# File 'ext/export/src/oddbdat.rb', line 373

def initialize(package_oid, line_oid, lim_oid)
  @package_oid = package_oid
  @line_oid = line_oid
  @lim_oid = lim_oid
  super
end

Instance Method Details

- (Object) structure



379
380
381
382
383
384
385
386
387
388
# File 'ext/export/src/oddbdat.rb', line 379

def structure
  {
    1    =>  '09',
    2    =>  @date,
    3    =>  @package_oid,
    4    =>  @lim_oid,
    5    =>  @line_oid,
    6    =>  '4',
  }
end