Sha256: 5b9dd1c0007f888d6e00cd094d4cd7b9ff912914e7d8ae17b04dcabbfbcf4854

Contents?: true

Size: 515 Bytes

Versions: 2

Compression:

Stored size: 515 Bytes

Contents

module Ethon
  module Easies
    module Http

      # This class knows everything about making PATCH requests.
      class Patch
        include Ethon::Easies::Http::Actionable
        include Ethon::Easies::Http::Postable

        # Setup url with escaped params and httpget.
        #
        # @example Setup.
        #   get.set_params(easy)
        #
        # @param [ Easy ] easy The easy to setup.
        def set_customs(easy)
          easy.customrequest = "PATCH"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ethon-0.0.2 lib/ethon/easies/http/patch.rb
ethon-0.0.1 lib/ethon/easies/http/patch.rb