Sha256: ca654604ace39408ea3a70245eb50bb9ea8fb7333302d64538629f5b634eaae2
Contents?: true
Size: 356 Bytes
Versions: 5
Compression:
Stored size: 356 Bytes
Contents
class Evil::Client::Middleware class MergeSecurity < Base private def build(env) env.dup.tap do |hash| security = hash.delete(:security).to_h %i(headers body query).each do |key| next unless security[key] hash[key] ||= {} hash[key].update security[key] end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems