Module: StubRequests
- Extended by:
- StubRequests, UriFor
- Includes:
- API, UriFor
- Included in:
- StubRequests
- Defined in:
- lib/stub_requests/api.rb,
lib/stub_requests/service.rb,
lib/stub_requests/version.rb,
lib/stub_requests/endpoint.rb,
lib/stub_requests/hash_util.rb,
lib/stub_requests/uri/scheme.rb,
lib/stub_requests/uri/suffix.rb,
lib/stub_requests/uri/builder.rb,
lib/stub_requests/stub_requests.rb,
lib/stub_requests/uri/validator.rb,
lib/stub_requests/webmock_builder.rb,
lib/stub_requests/service_registry.rb,
lib/stub_requests/endpoint_registry.rb,
lib/stub_requests/argument_validation.rb
Overview
Abstraction over WebMock to reduce duplication
Defined Under Namespace
Modules: API, ArgumentValidation, HashUtil, URI Classes: Endpoint, EndpointNotFound, EndpointRegistry, Error, InvalidType, InvalidUri, Service, ServiceHaveEndpoints, ServiceNotFound, ServiceRegistry, UriSegmentMismatch, WebMockBuilder
Constant Summary collapse
- VERSION =
Returns a version string
"0.1.0"
Instance Attribute Summary collapse
-
#logger ⇒ Logger
The logger to use in the gem.
Instance Method Summary collapse
-
#version ⇒ String
The current version of the gem.
Methods included from API
included, #register_service, #stub_endpoint
Instance Attribute Details
#logger ⇒ Logger
Returns the logger to use in the gem
79 80 81 |
# File 'lib/stub_requests/stub_requests.rb', line 79 def logger @logger end |