struct MockServerClient::Expectation

Included Modules

Defined in:

mockserver/structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(http_request : HttpRequest | Nil = nil, http_response : HttpResponse | Nil = nil, http_forward : HttpForward | Nil = nil, http_override_forward : HttpOverrideForward | Nil = nil, id : String | Nil = nil, times : Times | Nil = nil, priority : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def http_forward : HttpForward | Nil #

def http_forward! #

[View source]
def http_override_forward : HttpOverrideForward | Nil #

def http_override_forward! #

[View source]
def http_request : HttpRequest | Nil #

def http_request! #

[View source]
def http_response : HttpResponse | Nil #

def http_response! #

[View source]
def id : String | Nil #

def id! #

[View source]
def priority : Int32 | Nil #

def priority! #

[View source]
def times : Times | Nil #

def times! #

[View source]