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.
536 537 538 539 |
# File 'lib/claude_agent_sdk/types.rb', line 536 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.
534 535 536 |
# File 'lib/claude_agent_sdk/types.rb', line 534 def behavior @behavior end |
#updated_input ⇒ Object
Returns the value of attribute updated_input.
533 534 535 |
# File 'lib/claude_agent_sdk/types.rb', line 533 def updated_input @updated_input end |
#updated_permissions ⇒ Object
Returns the value of attribute updated_permissions.
533 534 535 |
# File 'lib/claude_agent_sdk/types.rb', line 533 def @updated_permissions end |