class CamtParser::Format053::Base

Attributes

group_header[R]
statements[R]
xml_data[R]

Public Class Methods

new(xml_data) click to toggle source
# File lib/camt_parser/053/base.rb, line 6
def initialize(xml_data)
  @xml_data = xml_data

  grphdr = xml_data.xpath('BkToCstmrStmt/GrpHdr')
  @group_header = GroupHeader.new(grphdr)
  statements = xml_data.xpath('BkToCstmrStmt/Stmt')
  @statements = statements.map{ |x| Statement.new(x) }
end