Module: OpenAI::HTTPHeaders

Included in:
HTTP
Defined in:
lib/openai/http_headers.rb

Instance Method Summary collapse

Instance Method Details

#add_headers(headers) ⇒ Object



3
4
5
# File 'lib/openai/http_headers.rb', line 3

def add_headers(headers)
  @extra_headers = extra_headers.merge(headers.transform_keys(&:to_s))
end