Class: ClaudeAgentSDK::SdkPluginConfig
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
SDK Plugin configuration
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SdkPluginConfig
constructor
A new instance of SdkPluginConfig.
- #to_h ⇒ Object
Methods inherited from Type
Constructor Details
#initialize(attributes = {}) ⇒ SdkPluginConfig
Returns a new instance of SdkPluginConfig.
1294 1295 1296 1297 |
# File 'lib/claude_agent_sdk/types.rb', line 1294 def initialize(attributes = {}) super @type = 'local' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
1291 1292 1293 |
# File 'lib/claude_agent_sdk/types.rb', line 1291 def path @path end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
1292 1293 1294 |
# File 'lib/claude_agent_sdk/types.rb', line 1292 def type @type end |
Instance Method Details
#to_h ⇒ Object
1299 1300 1301 |
# File 'lib/claude_agent_sdk/types.rb', line 1299 def to_h { type: @type, path: @path } end |