Method: OpenApiOpenAIClient::FunctionObject#to_body

Defined in:
lib/openapi_openai/models/function_object.rb

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



204
205
206
# File 'lib/openapi_openai/models/function_object.rb', line 204

def to_body
  to_hash
end