Class: Nanobot::Config::WebSearchConfig
- Inherits:
-
Struct
- Object
- Struct
- Nanobot::Config::WebSearchConfig
- Defined in:
- lib/nanobot/config/schema.rb
Overview
Web search tool API settings
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize(api_key: nil) ⇒ WebSearchConfig
constructor
A new instance of WebSearchConfig.
Constructor Details
#initialize(api_key: nil) ⇒ WebSearchConfig
Returns a new instance of WebSearchConfig.
90 91 92 |
# File 'lib/nanobot/config/schema.rb', line 90 def initialize(api_key: nil) super end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key
88 89 90 |
# File 'lib/nanobot/config/schema.rb', line 88 def api_key @api_key end |