Method: ActionDispatch::Http::Headers.from_hash

Defined in:
actionpack/lib/action_dispatch/http/headers.rb

.from_hash(hash) ⇒ Object



54
55
56
# File 'actionpack/lib/action_dispatch/http/headers.rb', line 54

def self.from_hash(hash)
  new ActionDispatch::Request.new hash
end