Class: X12::Parser::EdiItem

Inherits:
Object
  • Object
show all
Defined in:
lib/x12/parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEdiItem

Returns a new instance of EdiItem.



355
356
357
358
359
360
# File 'lib/x12/parser.rb', line 355

def initialize
  @loop_xid = ''
  @xid = ''
  @elements = []
  @children = []
end

Instance Attribute Details

#childrenObject

Returns the value of attribute children.



353
354
355
# File 'lib/x12/parser.rb', line 353

def children
  @children
end

#elementsObject

Returns the value of attribute elements.



352
353
354
# File 'lib/x12/parser.rb', line 352

def elements
  @elements
end

#loop_xidObject

Returns the value of attribute loop_xid.



350
351
352
# File 'lib/x12/parser.rb', line 350

def loop_xid
  @loop_xid
end

#xidObject

Returns the value of attribute xid.



351
352
353
# File 'lib/x12/parser.rb', line 351

def xid
  @xid
end