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
harbr-0.1.79 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.78 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.77 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.76 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.75 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.74 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.73 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.72 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.71 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.70 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.69 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.68 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.67 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.66 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.65 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.64 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.63 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.62 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.61 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb
harbr-0.1.60 vendor/bundle/ruby/3.2.0/gems/httparty-0.21.0/lib/httparty/request/multipart_boundary.rb