Sha256: 32d871d3ba585f3833be5209972956f98f1a18464db81c0bd6d3df09035f0f1d

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

module Ethon
  module Easies
    module Http

      # This class knows everything about making GET requests.
      class Options
        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 = "OPTIONS"
        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/options.rb
ethon-0.0.1 lib/ethon/easies/http/options.rb