Class: ODDB::OdbaExporter::AccompLine

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) structure



358
359
360
361
362
363
364
365
366
367
368
369
# File 'ext/export/src/oddbdat.rb', line 358

def structure
  if(comp = @package.registration.company)
    {
      1   => '19',
      2   => @date,
      3   => @package.oid,
      4   => comp.oid,
      5   => 'H',
      6   => '4',
    }
  end
end