class CamtParser::MessagePagination
Attributes
page_number[R]
xml_data[R]
Public Class Methods
new(xml_data)
click to toggle source
# File lib/camt_parser/general/group_header.rb, line 26 def initialize(xml_data) @xml_data = xml_data @page_number = xml_data.xpath('PgNb/text()').text.to_i @last_page_indicator = xml_data.xpath('LastPgInd/text()').text == 'true' end
Public Instance Methods
last_page?()
click to toggle source
# File lib/camt_parser/general/group_header.rb, line 32 def last_page? @last_page_indicator end