Method: HttpStub::Configurer::Server::SessionFacade#stub_response
- Defined in:
- lib/http_stub/configurer/server/session_facade.rb
#stub_response(stub) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/http_stub/configurer/server/session_facade.rb', line 17 def stub_response(stub) @request_processor.submit( request: REQUEST_FACTORY.multipart("stubs", stub, http_stub_session_id: @session_id), description: "stubbing '#{stub}' in #{@session_description}" ) end |