class Ethon::Easy::Http::Options

This class knows everything about making OPTIONS requests.

Public Instance Methods

setup(easy) click to toggle source

Setup easy to make a OPTIONS request.

@example Setup.

options.setup(easy)

@param [ Easy ] easy The easy to setup.

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