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
cloudsmith-api-0.49.94 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/easy/http/options.rb
cloudsmith-api-0.49.21 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/easy/http/options.rb
cloudsmith-api-0.49.15 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/easy/http/options.rb
cloudsmith-api-0.49.13 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/easy/http/options.rb
cloudsmith-api-0.49.9 vendor/bundle/ruby/2.3.0/gems/ethon-0.12.0/lib/ethon/easy/http/options.rb
cloudsmith-api-0.44.4 vendor/bundle/ruby/2.3.0/gems/ethon-0.12.0/lib/ethon/easy/http/options.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/options.rb
approveapi-1.0.8 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/easy/http/options.rb
approveapi-1.0.5 vendor/bundle/ruby/2.6.0/gems/ethon-0.12.0/lib/ethon/easy/http/options.rb
ethon-0.12.0 lib/ethon/easy/http/options.rb
cloudsmith-api-0.30.7 vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/options.rb
color_me_shop-1.0.0 vendor/bundle/ruby/2.5.0/gems/ethon-0.11.0/lib/ethon/easy/http/options.rb
cloudsmith-api-0.21.4 vendor/bundle/ruby/2.3.0/gems/ethon-0.11.0/lib/ethon/easy/http/options.rb
ethon-0.11.0 lib/ethon/easy/http/options.rb
ethon-0.10.1 lib/ethon/easy/http/options.rb
ethon-0.10.0 lib/ethon/easy/http/options.rb
ethon-0.9.1 lib/ethon/easy/http/options.rb
ethon-0.9.0 lib/ethon/easy/http/options.rb
ethon-0.8.1 lib/ethon/easy/http/options.rb
dwolla_swagger-1.0.6 vendor/bundle/ruby/2.2.0/gems/ethon-0.8.0/lib/ethon/easy/http/options.rb