This file is indexed.

/usr/lib/ruby/vendor_ruby/faraday_middleware/response/rashify.rb is in ruby-faraday-middleware 0.12.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
require 'faraday_middleware/response/mashify'

module FaradayMiddleware
  # Public: Converts parsed response bodies to a Hashie::Rash if they were of
  # Hash or Array type.
  class Rashify < Mashify
    dependency do
      require 'rash'
      self.mash_class = ::Hashie::Mash::Rash
    end
  end
end

# deprecated alias
Faraday::Response::Rashify = FaradayMiddleware::Rashify