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.
577 578 579 580 |
# File 'lib/claude_agent_sdk/types.rb', line 577 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.
575 576 577 |
# File 'lib/claude_agent_sdk/types.rb', line 575 def behavior @behavior end |
#updated_input ⇒ Object
Returns the value of attribute updated_input.
574 575 576 |
# File 'lib/claude_agent_sdk/types.rb', line 574 def updated_input @updated_input end |
#updated_permissions ⇒ Object
Returns the value of attribute updated_permissions.
574 575 576 |
# File 'lib/claude_agent_sdk/types.rb', line 574 def @updated_permissions end |