Class: ClaudeAgentSDK::PermissionResultAllow
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Permission results
Instance Attribute Summary collapse
-
#behavior ⇒ Object
readonly
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(attributes = {}) ⇒ PermissionResultAllow
constructor
A new instance of PermissionResultAllow.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ PermissionResultAllow
Returns a new instance of PermissionResultAllow.
648 649 650 651 |
# File 'lib/claude_agent_sdk/types.rb', line 648 def initialize(attributes = {}) super @behavior = 'allow' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#behavior ⇒ Object (readonly)
Returns the value of attribute behavior.
646 647 648 |
# File 'lib/claude_agent_sdk/types.rb', line 646 def behavior @behavior end |
#updated_input ⇒ Object
Returns the value of attribute updated_input.
645 646 647 |
# File 'lib/claude_agent_sdk/types.rb', line 645 def updated_input @updated_input end |
#updated_permissions ⇒ Object
Returns the value of attribute updated_permissions.
645 646 647 |
# File 'lib/claude_agent_sdk/types.rb', line 645 def @updated_permissions end |