class Ethon::Easies::Http::Put

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