Class: ClaudeAgentSDK::PermissionResultAllow
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::PermissionResultAllow
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Permission results
Instance Attribute Summary collapse
-
#behavior ⇒ Object
Returns the value of attribute behavior.
-
#updated_input ⇒ Object
Returns the value of attribute updated_input.
-
#updated_permissions ⇒ Object
Returns the value of attribute updated_permissions.
Instance Method Summary collapse
-
#initialize(updated_input: nil, updated_permissions: nil) ⇒ PermissionResultAllow
constructor
A new instance of PermissionResultAllow.
Constructor Details
#initialize(updated_input: nil, updated_permissions: nil) ⇒ PermissionResultAllow
Returns a new instance of PermissionResultAllow.
749 750 751 752 753 |
# File 'lib/claude_agent_sdk/types.rb', line 749 def initialize(updated_input: nil, updated_permissions: nil) @behavior = 'allow' @updated_input = updated_input @updated_permissions = end |
Instance Attribute Details
#behavior ⇒ Object
Returns the value of attribute behavior.
747 748 749 |
# File 'lib/claude_agent_sdk/types.rb', line 747 def behavior @behavior end |
#updated_input ⇒ Object
Returns the value of attribute updated_input.
747 748 749 |
# File 'lib/claude_agent_sdk/types.rb', line 747 def updated_input @updated_input end |
#updated_permissions ⇒ Object
Returns the value of attribute updated_permissions.
747 748 749 |
# File 'lib/claude_agent_sdk/types.rb', line 747 def @updated_permissions end |