Sha256: fa8c83cc665f47e26a4526a6f99ac3b343e696bf3a922951bc3dcca030d0537b
Contents?: true
Size: 395 Bytes
Versions: 9
Compression:
Stored size: 395 Bytes
Contents
# frozen_string_literal: true require 'peddler/xml_parser' module Peddler module Errors # @api 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
9 entries across 9 versions & 1 rubygems