module Ethon::Easy::Options

This module contains the logic and knowledge about the available options on easy.

Attributes

url[R]

Public Instance Methods

escape=( b ) click to toggle source
# File lib/ethon/easy/options.rb, line 15
def escape=( b )
  @escape = b
end
escape?() click to toggle source
# File lib/ethon/easy/options.rb, line 19
def escape?
  return true if !defined?(@escape) || @escape.nil?
  @escape
end
multipart=(b) click to toggle source
# File lib/ethon/easy/options.rb, line 24
def multipart=(b)
  @multipart = b
end
multipart?() click to toggle source
# File lib/ethon/easy/options.rb, line 28
def multipart?
  !!@multipart
end
url=(value) click to toggle source
# File lib/ethon/easy/options.rb, line 10
def url=(value)
  @url = value
  Curl.set_option(:url, value, handle)
end