Sha256: 7743d191bdb7a88e353f248f11e34712d9a8113c3ab03178acc34d7aa615a026

Contents?: true

Size: 780 Bytes

Versions: 67

Compression:

Stored size: 780 Bytes

Contents

module Ethon
  module Curls

    # This module contains the available options for forms.
    module FormOptions

      # Form options, used by FormAdd for temporary storage, refer
      # https://github.com/bagder/curl/blob/master/lib/formdata.h#L51 for details
      def form_options
        [
          :none,
          :copyname,
          :ptrname,
          :namelength,
          :copycontents,
          :ptrcontents,
          :contentslength,
          :filecontent,
          :array,
          :obsolete,
          :file,
          :buffer,
          :bufferptr,
          :bufferlength,
          :contenttype,
          :contentheader,
          :filename,
          :end,
          :obsolete2,
          :stream,
          :last
        ]
      end
    end
  end
end

Version data entries

67 entries across 66 versions & 8 rubygems

Version Path
ethon-0.5.1 lib/ethon/curls/form_options.rb
ethon-0.5.0 lib/ethon/curls/form_options.rb
ethon-0.4.4 lib/ethon/curls/form_options.rb
ethon-0.4.3 lib/ethon/curls/form_options.rb
ethon-0.4.2 lib/ethon/curls/form_options.rb
ethon-0.4.1 lib/ethon/curls/form_options.rb
ethon-0.4.0 lib/ethon/curls/form_options.rb