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 14 def escape=( b ) @escape = b end
escape?()
click to toggle source
# File lib/ethon/easy/options.rb, line 18 def escape? return true if !defined?(@escape) || @escape.nil? @escape end
multipart=(b)
click to toggle source
# File lib/ethon/easy/options.rb, line 23 def multipart=(b) @multipart = b end
multipart?()
click to toggle source
# File lib/ethon/easy/options.rb, line 27 def multipart? !!@multipart end
url=(value)
click to toggle source
# File lib/ethon/easy/options.rb, line 9 def url=(value) @url = value Curl.set_option(:url, value, handle) end