Sha256: 0b2357c2aecdc7ac4de8939101b069058bd375c98894d6130e5b4b715ff8fe47
Contents?: true
Size: 987 Bytes
Versions: 1
Compression:
Stored size: 987 Bytes
Contents
# frozen_string_literal: true module Wayfarer module Config Networking = Struct.new(agent: { env_key: "WAYFARER_NETWORK_AGENT", type: Symbol, default: :http }, pool_size: { env_key: "WAYFARER_NETWORK_POOL_SIZE", type: Integer, default: 3 }, pool_timeout: { env_key: "WAYFARER_NETWORK_POOL_TIMEOUT", type: Integer, default: 10 }, http_headers: { env_key: "WAYFARER_NETWORK_HTTP_HEADERS", type: Hash, default: {} }) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wayfarer-0.4.1 | lib/wayfarer/config/networking.rb |