Sha256: 857f2da1ae7d88fa4f746ff7c3ce89ba2efda3b192804ba93145132be8763226
Contents?: true
Size: 349 Bytes
Versions: 11
Compression:
Stored size: 349 Bytes
Contents
require 'peddler/xml_parser' module Peddler # @api private class ErrorParser < XMLParser def message parse['Message'] end def type parse['Type'] end def code parse['Code'] end private def find_data xml .fetch('ErrorResponse', {}) .fetch('Error', {}) end end end
Version data entries
11 entries across 11 versions & 1 rubygems