class Ethon::Easy::Http::Patch

This class knows everything about making PATCH requests.

Public Instance Methods

setup(easy) click to toggle source

Setup easy to make a PATCH request.

@example Setup.

patch.setup(easy)

@param [ Easy ] easy The easy to setup.

Calls superclass method Ethon::Easy::Http::Actionable#setup
# File lib/ethon/easy/http/patch.rb, line 17
def setup(easy)
  super
  easy.customrequest = "PATCH"
end