Method: OpenApiOpenAIClient::FunctionObject#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



126
127
128
# File 'lib/openapi_openai/models/function_object.rb', line 126

def hash
  [description, name, parameters].hash
end