Method: OpenAI::Internal::Util.decode_query

Defined in:
lib/openai/internal/util.rb

.decode_query(query) ⇒ Hash{String=>Array<String>}

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.

Parameters:

  • query (String, nil)

Returns:

  • (Hash{String=>Array<String>})


274
275
276
# File 'lib/openai/internal/util.rb', line 274

def decode_query(query)
  CGI.parse(query.to_s)
end