Sha256: 8e87ca90aa1649cc6ac9e52443c8cbbe01bc1a1db5eeeceda1ff57d24ba3690e

Contents?: true

Size: 154 Bytes

Versions: 3

Compression:

Stored size: 154 Bytes

Contents

require 'faraday'

module Faraday
  class Response::ParseMarshal < Response::Middleware

    def parse(body)
      ::Marshal.load(body)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
faraday_middleware-0.7.0 lib/faraday/response/parse_marshal.rb
faraday_middleware-0.7.0.rc1 lib/faraday/response/parse_marshal.rb
faraday_middleware-0.6.5 lib/faraday/response/parse_marshal.rb