Sha256: 3c1c7b6fb92b281552bd27d334cb36a3110a080a73a93a456a299bca72625a36

Contents?: true

Size: 810 Bytes

Versions: 6875

Compression:

Stored size: 810 Bytes

Contents

# frozen_string_literal: true
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

6,875 entries across 6,873 versions & 24 rubygems

Version Path
cybrid_api_organization_ruby-0.3.8 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_bank_ruby-0.3.8 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_id_ruby-0.3.8 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_id_ruby-0.3.7 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_organization_ruby-0.3.7 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_bank_ruby-0.3.7 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_bank_ruby-0.3.6 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_organization_ruby-0.3.6 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_id_ruby-0.3.6 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_id_ruby-0.3.5 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_organization_ruby-0.3.5 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_bank_ruby-0.3.5 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_bank_ruby-0.3.4 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_id_ruby-0.3.4 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_organization_ruby-0.3.4 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_bank_ruby-0.3.3 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_id_ruby-0.3.3 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_organization_ruby-0.3.3 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_bank_ruby-0.3.2 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb
cybrid_api_id_ruby-0.3.2 vendor/bundle/ruby/3.1.0/gems/ethon-0.15.0/lib/ethon/curls/form_options.rb