Sha256: 4ffbbb42e73aea3220922f9dd45024193030a24ec124a58c3b4fe0e09c26f12b

Contents?: true

Size: 179 Bytes

Versions: 5

Compression:

Stored size: 179 Bytes

Contents

require 'faraday'

module Faraday
  class Response::ParseXml < Response::Middleware
    dependency 'multi_xml'

    def parse(body)
      ::MultiXml.parse(body)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
faraday_middleware-0.7.0 lib/faraday/response/parse_xml.rb
faraday_middleware-0.7.0.rc1 lib/faraday/response/parse_xml.rb
faraday_middleware-0.6.5 lib/faraday/response/parse_xml.rb
faraday_middleware-0.6.3 lib/faraday/response/parse_xml.rb
faraday_middleware-0.6.0 lib/faraday/response/parse_xml.rb