Module: HttpStub::Server::Stub::Response

Defined in:
lib/http_stub/server/stub/response.rb,
lib/http_stub/server/stub/response/body.rb,
lib/http_stub/server/stub/response/blocks.rb,
lib/http_stub/server/stub/response/headers.rb,
lib/http_stub/server/stub/response/response.rb,
lib/http_stub/server/stub/response/file_body.rb,
lib/http_stub/server/stub/response/text_body.rb

Defined Under Namespace

Classes: Blocks, Body, FileBody, Headers, Response, TextBody

Class Method Summary collapse

Class Method Details

.create(args = {}) ⇒ Object



7
8
9
# File 'lib/http_stub/server/stub/response.rb', line 7

def self.create(args={})
  HttpStub::Server::Stub::Response::Response.new(args)
end