Sha256: e36a85fadd7a85698aa3aa7d974173ec437cf1f577938ecb08a9a1fa9fd47f6d
Contents?: true
Size: 518 Bytes
Versions: 64
Compression:
Stored size: 518 Bytes
Contents
module Ethon class Easy module Http # This class knows everything about making OPTIONS requests. class Options include Ethon::Easy::Http::Actionable include Ethon::Easy::Http::Postable # Setup easy to make a OPTIONS request. # # @example Setup. # options.setup(easy) # # @param [ Easy ] easy The easy to setup. def setup(easy) super easy.customrequest = "OPTIONS" end end end end end
Version data entries
64 entries across 63 versions & 8 rubygems
Version | Path |
---|---|
ethon-0.5.1 | lib/ethon/easy/http/options.rb |
ethon-0.5.0 | lib/ethon/easy/http/options.rb |
ethon-0.4.4 | lib/ethon/easy/http/options.rb |
ethon-0.4.3 | lib/ethon/easy/http/options.rb |