Sha256: 413c9916d89a3f52d58edcb663b4de406140b18a9f21232b13d57736d1e3d49c

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

module Excon
  unless const_defined?(:VERSION)
    VERSION = '0.7.8'
  end

  unless const_defined?(:CHUNK_SIZE)
    CHUNK_SIZE = 1048576 # 1 megabyte
  end

  unless const_defined?(:HTTP_VERBS)
    HTTP_VERBS = %w{connect delete get head options post put trace}
  end

  unless ::IO.const_defined?(:WaitReadable)
    class ::IO
      module WaitReadable; end
    end
  end

  unless ::IO.const_defined?(:WaitWritable)
    class ::IO
      module WaitWritable; end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
excon-0.7.8 lib/excon/constants.rb