Sha256: 8b7bdbb2736064f638e421f0d2fb5dd88efb5f42648db7c1a26509d536b3c57f

Contents?: true

Size: 236 Bytes

Versions: 85

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

require 'securerandom'

module HTTParty
  class Request
    class MultipartBoundary
      def self.generate
        "------------------------#{SecureRandom.urlsafe_base64(12)}"
      end
    end
  end
end

Version data entries

85 entries across 85 versions & 3 rubygems

Version Path
httparty-0.22.0 lib/httparty/request/multipart_boundary.rb
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
study_line-0.2.7 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
study_line-0.2.6 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
study_line-0.2.5 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
study_line-0.2.4 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
study_line-0.2.3 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
study_line-0.2.2 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
study_line-0.2.1 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
study_line-0.2.0 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.3 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.2 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.2.1 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb