Class: ClaudeAgentSDK::PermissionResultAllow

Inherits:
Type
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Permission results

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#behaviorObject (readonly)

Returns the value of attribute behavior.



534
535
536
# File 'lib/claude_agent_sdk/types.rb', line 534

def behavior
  @behavior
end

#updated_inputObject

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_permissionsObject

Returns the value of attribute updated_permissions.



533
534
535
# File 'lib/claude_agent_sdk/types.rb', line 533

def updated_permissions
  @updated_permissions
end