Class: Rubyagents::ToolCall
- Inherits:
-
Data
- Object
- Data
- Rubyagents::ToolCall
- Defined in:
- lib/rubyagents/model.rb
Instance Attribute Summary collapse
-
#function ⇒ Object
readonly
Returns the value of attribute function.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#function ⇒ Object (readonly)
Returns the value of attribute function
29 30 31 |
# File 'lib/rubyagents/model.rb', line 29 def function @function end |
#id ⇒ Object (readonly)
Returns the value of attribute id
29 30 31 |
# File 'lib/rubyagents/model.rb', line 29 def id @id end |
Instance Method Details
#to_h ⇒ Object
30 31 32 |
# File 'lib/rubyagents/model.rb', line 30 def to_h { id: id, function: function.to_h } end |