Sha256: 7f3d2bbd690d863cff40b65d429219643cb42896f623e473e3267c569528a064
Contents?: true
Size: 403 Bytes
Versions: 6
Compression:
Stored size: 403 Bytes
Contents
# frozen_string_literal: true require 'peddler/xml_parser' module Peddler module Errors # @!visibility private class Parser < XMLParser def message parse['Message'] end def type parse['Type'] end def code parse['Code'] end private def find_data xml.dig('ErrorResponse', 'Error') end end end end
Version data entries
6 entries across 6 versions & 1 rubygems