Sha256: 91b663795d322db631b62fb6ee908aea6991a90d557e32498f27d95d92abce08

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 Bytes

Contents

module Ethon
  module Easies
    module Http

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

        # Setup url with escaped params and nobody.
        #
        # @example Setup.
        #   get.set_params(easy)
        #
        # @param [ Easy ] easy The easy to setup.
        def set_customs(easy)
          easy.nobody = true
        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/head.rb
ethon-0.0.1 lib/ethon/easies/http/head.rb