Sha256: 68eb206c0b530733fd5ae57e714c78e18e8fe0f787c8e6ea2dab1dc5ba69eb5e

Contents?: true

Size: 558 Bytes

Versions: 6479

Compression:

Stored size: 558 Bytes

Contents

# frozen_string_literal: true
module Ethon
  class Easy
    module Http

      # This class knows everything about making DELETE requests.
      class Delete
        include Ethon::Easy::Http::Actionable
        include Ethon::Easy::Http::Postable

        # Setup easy to make a DELETE request.
        #
        # @example Setup customrequest.
        #   delete.setup(easy)
        #
        # @param [ Easy ] easy The easy to setup.
        def setup(easy)
          super
          easy.customrequest = "DELETE"
        end
      end
    end
  end
end

Version data entries

6,479 entries across 6,477 versions & 22 rubygems

Version Path
ory-client-0.0.1.alpha124 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha123 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha122 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha121 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha120 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha119 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha118 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha117 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha116 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha115 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-keto-client-0.8.0.alpha2 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
cloudsmith-api-1.33.7 vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha113 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha112 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha111 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha110 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha109 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
avalara_sdk-2.4.26 vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-client-0.0.1.alpha108 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb
ory-oathkeeper-client-0.38.23.beta1 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/lib/ethon/easy/http/delete.rb