Sha256: 7a254c13b01d922cac5a37c05686b18ad2c677a9a53fabc4a423687fa17fad5f
Contents?: true
Size: 451 Bytes
Versions: 9
Compression:
Stored size: 451 Bytes
Contents
require "faraday" require "hypernova/batch_url_builder" class Hypernova::FaradayConnection def self.build configuration = Hypernova.configuration Faraday.new( request: { open_timeout: configuration.open_timeout, timeout: configuration.timeout, }, url: Hypernova::BatchUrlBuilder.base_url, ) do |builder| builder.adapter(configuration.http_adapter) if configuration.http_adapter end end end
Version data entries
9 entries across 9 versions & 1 rubygems