Class: RubyLLM::Toolbox::Safety::UrlGuard::Resolution

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_llm/toolbox/safety/url_guard.rb

Overview

A vetted result: the parsed URI plus a concrete IP that every connection should be pinned to, so a second DNS lookup at connect time can’t swap in a private address (DNS rebinding).

Instance Attribute Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



29
30
31
# File 'lib/ruby_llm/toolbox/safety/url_guard.rb', line 29

def address
  @address
end

#uriObject

Returns the value of attribute uri

Returns:

  • (Object)

    the current value of uri



29
30
31
# File 'lib/ruby_llm/toolbox/safety/url_guard.rb', line 29

def uri
  @uri
end