Sha256: 225a158cd281e984d620dfe019683e8825efc2bf22bac40ce0e83bc3b699a295

Contents?: true

Size: 1.06 KB

Versions: 8

Compression:

Stored size: 1.06 KB

Contents

# MockServer::ExpectationApi

All URIs are relative to *http://localhost:1080*

Method | HTTP request | Description
------------- | ------------- | -------------
[**expectation_put**](ExpectationApi.md#expectation_put) | **PUT** /expectation | create expectation


# **expectation_put**
> expectation_put(expectations)

create expectation

### Example
```ruby
# 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
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **expectations** | [**Array&lt;Expectations&gt;**](Array.md)| expectation to create | 

### Return type

nil (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: Not defined



Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
mockserver-client-2-5.3.7 docs/ExpectationApi.md
mockserver-client-2-5.3.6 docs/ExpectationApi.md
mockserver-client-2-5.3.5 docs/ExpectationApi.md
mockserver-client-2-5.3.4 docs/ExpectationApi.md
mockserver-client-2-5.3.3 docs/ExpectationApi.md
mockserver-client-2-5.3.2 docs/ExpectationApi.md
mockserver-client-2-5.3.1 docs/ExpectationApi.md
mockserver-client-5.3.0 docs/ExpectationApi.md