mockserver-client-ruby/lib/mockserver/model/expectation.rb
# Method to setup the request on the expectation object
# @yieldparam [Request] the request that this expectation references
# @return [Expectation] this object according to the  the builder pattern
Method to setup the request on the expectation object
Method to setup the request on the expectation object
def request(&_)
        if block_given?
          @request ||= Request.new
          yield @request
        end
        @request
      end
def request ( & _ ) if block_given? @request ||= Request . new yield @request end @request end
Method to setup the request on the expectation object
Method to setup the request on the expectation object
this object according to the the builder pattern
this object according to the the builder pattern
Expectation
_
<not_specific>
<not_specific>
the request that this expectation references
the request that this expectation references