Sha256: deb9706c2967aa166946ab545ba5e9ca6c8eed29fef85c6cbddd367d8ac3f033
Contents?: true
Size: 386 Bytes
Versions: 17
Compression:
Stored size: 386 Bytes
Contents
# frozen_string_literal: true module HTTPX class Resolver::Options def initialize(options = {}) @options = options end def method_missing(m, *args, &block) if @options.key?(m) @options[m] else super end end def respond_to_missing?(m) @options.key?(m) || super end def to_h @options end end end
Version data entries
17 entries across 17 versions & 1 rubygems