Class: Terret::Tools::Definition
- Inherits:
-
Data
- Object
- Data
- Terret::Tools::Definition
- Defined in:
- lib/terret/tools.rb
Instance Attribute Summary collapse
-
#approval ⇒ Object
readonly
Returns the value of attribute approval.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#handler ⇒ Object
readonly
Returns the value of attribute handler.
-
#mutating ⇒ Object
readonly
Returns the value of attribute mutating.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
Instance Attribute Details
#approval ⇒ Object (readonly)
Returns the value of attribute approval
5 6 7 |
# File 'lib/terret/tools.rb', line 5 def approval @approval end |
#description ⇒ Object (readonly)
Returns the value of attribute description
5 6 7 |
# File 'lib/terret/tools.rb', line 5 def description @description end |
#handler ⇒ Object (readonly)
Returns the value of attribute handler
5 6 7 |
# File 'lib/terret/tools.rb', line 5 def handler @handler end |
#mutating ⇒ Object (readonly)
Returns the value of attribute mutating
5 6 7 |
# File 'lib/terret/tools.rb', line 5 def mutating @mutating end |
#name ⇒ Object (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/terret/tools.rb', line 5 def name @name end |
#params ⇒ Object (readonly)
Returns the value of attribute params
5 6 7 |
# File 'lib/terret/tools.rb', line 5 def params @params end |
Instance Method Details
#schema ⇒ Object
7 |
# File 'lib/terret/tools.rb', line 7 def schema = { name:, description:, parameters: params } |