Class: ClaudeAgentSDK::PermissionResultDeny
- Defined in:
- lib/claude_agent_sdk/types.rb
Instance Attribute Summary collapse
-
#behavior ⇒ Object
readonly
Returns the value of attribute behavior.
-
#interrupt ⇒ Object
Returns the value of attribute interrupt.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ PermissionResultDeny
constructor
A new instance of PermissionResultDeny.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ PermissionResultDeny
Returns a new instance of PermissionResultDeny.
658 659 660 661 662 663 |
# File 'lib/claude_agent_sdk/types.rb', line 658 def initialize(attributes = {}) super @behavior = 'deny' @message ||= '' @interrupt = false if @interrupt.nil? 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.
656 657 658 |
# File 'lib/claude_agent_sdk/types.rb', line 656 def behavior @behavior end |
#interrupt ⇒ Object
Returns the value of attribute interrupt.
655 656 657 |
# File 'lib/claude_agent_sdk/types.rb', line 655 def interrupt @interrupt end |
#message ⇒ Object
Returns the value of attribute message.
655 656 657 |
# File 'lib/claude_agent_sdk/types.rb', line 655 def @message end |