Class: ClaudeAgentSDK::PermissionRuleValue
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::PermissionRuleValue
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Permission rule value
Instance Attribute Summary collapse
-
#rule_content ⇒ Object
Returns the value of attribute rule_content.
-
#tool_name ⇒ Object
Returns the value of attribute tool_name.
Instance Method Summary collapse
-
#initialize(tool_name:, rule_content: nil) ⇒ PermissionRuleValue
constructor
A new instance of PermissionRuleValue.
Constructor Details
#initialize(tool_name:, rule_content: nil) ⇒ PermissionRuleValue
Returns a new instance of PermissionRuleValue.
638 639 640 641 |
# File 'lib/claude_agent_sdk/types.rb', line 638 def initialize(tool_name:, rule_content: nil) @tool_name = tool_name @rule_content = rule_content end |
Instance Attribute Details
#rule_content ⇒ Object
Returns the value of attribute rule_content.
636 637 638 |
# File 'lib/claude_agent_sdk/types.rb', line 636 def rule_content @rule_content end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
636 637 638 |
# File 'lib/claude_agent_sdk/types.rb', line 636 def tool_name @tool_name end |