class WebMock::Stub
- WebMock::Stub
- Reference
- Object
Defined in:
webmock/stub.crConstructors
Instance Method Summary
- #calls : Int32
- #exec
- #matches?(request)
- #matches_body?(request)
- #matches_headers?(request)
- #matches_host?(request)
- #matches_method?(request)
- #matches_path?(request)
- #matches_scheme?(request)
- #to_return(body : String = "", status : Int32 = 200, headers = nil)
- #with(query : Hash(String, String) = nil, body : String = nil, headers = nil)