Class: ClaudeAgentSDK::PermissionResultAllow

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

Overview

Permission results

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(updated_input: nil, updated_permissions: nil) ⇒ PermissionResultAllow

Returns a new instance of PermissionResultAllow.



230
231
232
233
234
# File 'lib/claude_agent_sdk/types.rb', line 230

def initialize(updated_input: nil, updated_permissions: nil)
  @behavior = 'allow'
  @updated_input = updated_input
  @updated_permissions = updated_permissions
end

Instance Attribute Details

#behaviorObject

Returns the value of attribute behavior.



228
229
230
# File 'lib/claude_agent_sdk/types.rb', line 228

def behavior
  @behavior
end

#updated_inputObject

Returns the value of attribute updated_input.



228
229
230
# File 'lib/claude_agent_sdk/types.rb', line 228

def updated_input
  @updated_input
end

#updated_permissionsObject

Returns the value of attribute updated_permissions.



228
229
230
# File 'lib/claude_agent_sdk/types.rb', line 228

def updated_permissions
  @updated_permissions
end