Sha256: fb2ad2544c03544d047cbb467c7561f433192b5aea7a481ce3f2ce83253d7643

Contents?: true

Size: 528 Bytes

Versions: 64

Compression:

Stored size: 528 Bytes

Contents

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

64 entries across 63 versions & 8 rubygems

Version Path
ethon-0.8.0 lib/ethon/easy/http/delete.rb
ethon-0.7.4 lib/ethon/easy/http/delete.rb
ethon-0.7.3 lib/ethon/easy/http/delete.rb
ethon-0.7.2 lib/ethon/easy/http/delete.rb
ethon-0.7.1 lib/ethon/easy/http/delete.rb
ethon-0.7.0 lib/ethon/easy/http/delete.rb
ethon-0.6.3 lib/ethon/easy/http/delete.rb
ethon-0.6.2 lib/ethon/easy/http/delete.rb
ethon-0.6.1 lib/ethon/easy/http/delete.rb
ethon-0.6.0 lib/ethon/easy/http/delete.rb
ethon-0.5.12 lib/ethon/easy/http/delete.rb
ethon-0.5.11 lib/ethon/easy/http/delete.rb
ethon-0.5.10 lib/ethon/easy/http/delete.rb
ethon-0.5.9 lib/ethon/easy/http/delete.rb
ethon-0.5.8 lib/ethon/easy/http/delete.rb
ethon-0.5.7 lib/ethon/easy/http/delete.rb
ethon-0.5.6 lib/ethon/easy/http/delete.rb
ethon-0.5.4 lib/ethon/easy/http/delete.rb
ethon-0.5.3 lib/ethon/easy/http/delete.rb
ethon-0.5.2 lib/ethon/easy/http/delete.rb