class Ethon::Easies::Http::Put

This class knows everything about making PUT requests.

def setup(easy)

Parameters:
  • easy (Easy) -- The easy to setup.

Other tags:
    Example: Setup. -
def setup(easy)
  super
  if form.empty?
    easy.upload = true
    easy.infilesize = 0
  end
end