class Webmachine::Request

Public Instance Methods

patch?() click to toggle source
# File lib/pact_broker/api.rb, line 10
def patch?
  method == "PATCH"
end
put?() click to toggle source

This makes PATCH go through the PUT state machine path

# File lib/pact_broker/api.rb, line 15
def put?
  method == "PUT" || method == "PATCH"
end
really_put?() click to toggle source
# File lib/pact_broker/api.rb, line 19
def really_put?
  method == "PUT"
end