class CamtParser::MessagePagination

Attributes

page_number[R]

Public Class Methods

new(xml_data) click to toggle source
# File lib/camt_parser/general/group_header.rb, line 18
def initialize(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 23
def last_page?
  @last_page_indicator
end