All URIs are relative to http://localhost:1080
Method | HTTP request | Description |
---|---|---|
expectation_put | PUT /expectation | create expectation |
expectation_put(expectations)
create expectation
# load the gem
require 'mockserver-client'
api_instance = MockServer::ExpectationApi.new
expectations = nil # Array<Expectations> | expectation to create
begin
#create expectation
api_instance.expectation_put(expectations)
rescue MockServer::ApiError => e
puts "Exception when calling ExpectationApi->expectation_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
expectations | Array<Expectations> | expectation to create |
nil (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined