Module: HttpStub::Server::Stub

Defined in:
lib/http_stub/server/stub.rb,
lib/http_stub/server/stub/stub.rb,
lib/http_stub/server/stub/empty.rb,
lib/http_stub/server/stub/parser.rb,
lib/http_stub/server/stub/payload.rb,
lib/http_stub/server/stub/registry.rb,
lib/http_stub/server/stub/response.rb,
lib/http_stub/server/stub/triggers.rb,
lib/http_stub/server/stub/controller.rb,
lib/http_stub/server/stub/match/miss.rb,
lib/http_stub/server/stub/match/match.rb,
lib/http_stub/server/stub/match/rules.rb,
lib/http_stub/server/stub/response/base.rb,
lib/http_stub/server/stub/response/file.rb,
lib/http_stub/server/stub/response/text.rb,
lib/http_stub/server/stub/match/rule/uri.rb,
lib/http_stub/server/stub/match/rule/body.rb,
lib/http_stub/server/stub/match/controller.rb,
lib/http_stub/server/stub/match/rule/method.rb,
lib/http_stub/server/stub/match/rule/truthy.rb,
lib/http_stub/server/stub/match/hash_matcher.rb,
lib/http_stub/server/stub/match/rule/headers.rb,
lib/http_stub/server/stub/match/rule/json_body.rb,
lib/http_stub/server/stub/match/rule/parameters.rb,
lib/http_stub/server/stub/match/rule/simple_body.rb,
lib/http_stub/server/stub/response/attribute/body.rb,
lib/http_stub/server/stub/match/exact_value_matcher.rb,
lib/http_stub/server/stub/payload/base_uri_modifier.rb,
lib/http_stub/server/stub/match/regexp_value_matcher.rb,
lib/http_stub/server/stub/match/string_value_matcher.rb,
lib/http_stub/server/stub/response/attribute/headers.rb,
lib/http_stub/server/stub/match/omitted_value_matcher.rb,
lib/http_stub/server/stub/payload/response_body_modifier.rb,
lib/http_stub/server/stub/response/attribute/interpolator.rb,
lib/http_stub/server/stub/response/attribute/interpolator/headers.rb,
lib/http_stub/server/stub/response/attribute/interpolator/parameters.rb

Defined Under Namespace

Modules: Match, Payload, Response Classes: Controller, Empty, Parser, Registry, Stub, Triggers

Class Method Summary collapse

Class Method Details

.create(args) ⇒ Object



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

def self.create(args)
  HttpStub::Server::Stub::Stub.new(args)
end