Sha256: b19540d3c023419ad78f2170f0974c981dd679268723e4c14582572af9cc43ea

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

module Excon
  unless const_defined?(:VERSION)
    VERSION = '0.7.7'
  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.7 lib/excon/constants.rb