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.
546 547 548 549 550 551 |
# File 'lib/claude_agent_sdk/types.rb', line 546 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.
544 545 546 |
# File 'lib/claude_agent_sdk/types.rb', line 544 def behavior @behavior end |
#interrupt ⇒ Object
Returns the value of attribute interrupt.
543 544 545 |
# File 'lib/claude_agent_sdk/types.rb', line 543 def interrupt @interrupt end |
#message ⇒ Object
Returns the value of attribute message.
543 544 545 |
# File 'lib/claude_agent_sdk/types.rb', line 543 def @message end |