Class: HttpStub::Server::Stub::Response::Headers
- Inherits:
-
HashWithIndifferentAccess
- Object
- HashWithIndifferentAccess
- HttpStub::Server::Stub::Response::Headers
- Includes:
- Extensions::Core::Hash::Formatted
- Defined in:
- lib/http_stub/server/stub/response/headers.rb
Class Method Summary collapse
Methods included from Extensions::Core::Hash::Formatted
Class Method Details
.create(hash, body) ⇒ Object
9 10 11 |
# File 'lib/http_stub/server/stub/response/headers.rb', line 9 def self.create(hash, body) self.new(body.headers.merge(hash || {})) end |