Class: Braintrust::Models::Task

Inherits:
BaseModel show all
Defined in:
lib/braintrust/models/task.rb

Defined Under Namespace

Classes: Type

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #initialize, #inspect, #to_h, #to_s

Constructor Details

This class inherits a constructor from Braintrust::BaseModel

Instance Attribute Details

#typeSymbol

One of the constants defined in Type

Returns:

  • (Symbol)


9
# File 'lib/braintrust/models/task.rb', line 9

required :type, enum: -> { Braintrust::Models::Task::Type }