Sha256: 059242de55a155d5b97c4478cd4fa7eac70c75fe1c431263e590ae66673b06d2

Contents?: true

Size: 705 Bytes

Versions: 36

Compression:

Stored size: 705 Bytes

Contents

# frozen_string_literal: true

module Faraday
  # @!parse
  #   # ConnectionOptions contains the configurable properties for a Faraday
  #   # connection object.
  #   class ConnectionOptions < Options; end
  ConnectionOptions = Options.new(:request, :proxy, :ssl, :builder, :url,
                                  :parallel_manager, :params, :headers,
                                  :builder_class) do
    options request: RequestOptions, ssl: SSLOptions

    memoized(:request) { self.class.options_for(:request).new }

    memoized(:ssl) { self.class.options_for(:ssl).new }

    memoized(:builder_class) { RackBuilder }

    def new_builder(block)
      builder_class.new(&block)
    end
  end
end

Version data entries

36 entries across 36 versions & 3 rubygems

Version Path
faraday-2.9.0 lib/faraday/options/connection_options.rb
faraday-2.8.1 lib/faraday/options/connection_options.rb
moneykit-0.1.2 vendor/bundle/ruby/3.2.0/gems/faraday-2.7.12/lib/faraday/options/connection_options.rb
faraday-2.8.0 lib/faraday/options/connection_options.rb
moneykit-0.1.1 vendor/bundle/ruby/3.2.0/gems/faraday-2.7.12/lib/faraday/options/connection_options.rb
moneykit-0.1.0 vendor/bundle/ruby/3.2.0/gems/faraday-2.7.12/lib/faraday/options/connection_options.rb
moneykit-0.1.0.alpha.2 vendor/bundle/ruby/3.2.0/gems/faraday-2.7.12/lib/faraday/options/connection_options.rb
moneykit-0.1.0.alpha.1 vendor/bundle/ruby/3.2.0/gems/faraday-2.7.12/lib/faraday/options/connection_options.rb
faraday-2.7.12 lib/faraday/options/connection_options.rb
faraday-2.7.11 lib/faraday/options/connection_options.rb
faraday-2.7.10 lib/faraday/options/connection_options.rb
faraday-2.7.9 lib/faraday/options/connection_options.rb
faraday-2.7.8 lib/faraday/options/connection_options.rb
faraday-2.7.7 lib/faraday/options/connection_options.rb
faraday-2.7.6 lib/faraday/options/connection_options.rb
faraday-2.7.5 lib/faraday/options/connection_options.rb