Sha256: d92b71dd06c62a5cb04973fea3a05284b1b601c438a1975810c27dccb7c738c6
Contents?: true
Size: 320 Bytes
Versions: 6
Compression:
Stored size: 320 Bytes
Contents
require 'peddler/xml_parser' module Peddler # @api private class XMLResponseParser < XMLParser def next_token parse.fetch('NextToken', false) end private def find_data results = xml.values.first.find { |k, _| k.include?('Result') } results ? results.last : nil end end end
Version data entries
6 entries across 6 versions & 1 rubygems