class CamtParser::MessagePagination
Attributes
Public Class Methods
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
Source
# File lib/camt_parser/general/group_header.rb, line 32 def last_page? @last_page_indicator end