class HttpStub::Server::Stub::Response::Headers
Public Class Methods
create(hash, body)
click to toggle source
# File lib/http_stub/server/stub/response/headers.rb, line 9 def self.create(hash, body) self.new(body.headers.merge(hash || {})) end
new(hash)
click to toggle source
Calls superclass method
HttpStub::Extensions::Core::Hash::Formatted::new
# File lib/http_stub/server/stub/response/headers.rb, line 15 def initialize(hash) super(hash.stringify_keys, ":") end