class CamtParser::Format054::Base
Attributes
Public Class Methods
Source
# File lib/camt_parser/054/base.rb, line 6 def initialize(xml_data) @xml_data = xml_data grphdr = xml_data.xpath('BkToCstmrDbtCdtNtfctn/GrpHdr') @group_header = GroupHeader.new(grphdr) notifications = xml_data.xpath('BkToCstmrDbtCdtNtfctn/Ntfctn') @notifications = notifications.map{ |x| Notification.new(x) } end