Sha256: 3f848385c5f1c8dd46c6a0e85d88ee0c4d39ade2e852b7599d7cf79aeac1e549
Contents?: true
Size: 350 Bytes
Versions: 172
Compression:
Stored size: 350 Bytes
Contents
require 'faraday_middleware/response_middleware' module FaradayMiddleware class PlistMiddleware < ResponseMiddleware dependency do require 'plist' unless defined?(::Plist) end define_parser do |body| Plist.parse_xml(body) end end end Faraday::Response.register_middleware(plist: FaradayMiddleware::PlistMiddleware)
Version data entries
172 entries across 172 versions & 2 rubygems