Sha256: dec9eafd7670a24c1106b825f26094c9834969f058cc970b0cdf792250d519e2

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

AsciiDataTools.configure do
  record_type("EXAMPLE01") do
    field "RECORD_TYPE",      :length => 9, :constrained_to => "EXAMPLE01"
    field "USAGE",            :length => 3
    field "A_NUMBER",         :length => 16
    field "B_NUMBER",         :length => 16
    field "CHARGEABLE_UNITS", :length => 4
    field "END_OF_RECORD",    :length => 1
  end

  record_type("EXAMPLE02") do
    field "RECORD_TYPE",      :length => 9, :constrained_to => "EXAMPLE02"
    field "APN",              :length => 12
    field "TIMESTAMP",        :length => 14, :normalised => true
    field "SESSION_DURATION", :length => 4
    field "CHARGEABLE_UNITS", :length => 4
    field "END_OF_RECORD",    :length => 1
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ascii-data-tools-0.9 lib/ascii-data-tools/discover.rb