Method: OpenAI::Internal::Util.unparse_uri
- Defined in:
- lib/openai/internal/util.rb
.unparse_uri(parsed) ⇒ URI::Generic
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
314 315 316 |
# File 'lib/openai/internal/util.rb', line 314 def unparse_uri(parsed) URI::Generic.build(**parsed, query: encode_query(parsed.fetch(:query))) end |