class REX12::Transaction

Attributes

gs_segment[R]

@return REX12::Segment - The GS segment from the EDI document this transaction belongs to

isa_segment[R]

@return REX12::Segment - The ISA segment from the EDI document this transaction belongs to

segments[R]

@return Array<REX12::Segment> - All the segments that comprise this EDI Transaction

Public Class Methods

new(isa_segment, gs_segment, segments) click to toggle source
# File lib/rex12/transaction.rb, line 14
def initialize(isa_segment, gs_segment, segments)
  @isa_segment = isa_segment
  @gs_segment = gs_segment
  @segments = segments
end