# File lib/faraday/response/rashify.rb, line 8 def parse(body) case body when Hash ::Hashie::Rash.new(body) when Array body.map { |item| item.is_a?(Hash) ? ::Hashie::Rash.new(item) : item } else body end end