Class: RubyLLM::Toolbox::Safety::UrlGuard::Resolution
- Inherits:
-
Struct
- Object
- Struct
- RubyLLM::Toolbox::Safety::UrlGuard::Resolution
- 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
-
#address ⇒ Object
Returns the value of attribute address.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address
29 30 31 |
# File 'lib/ruby_llm/toolbox/safety/url_guard.rb', line 29 def address @address end |
#uri ⇒ Object
Returns the value of attribute uri
29 30 31 |
# File 'lib/ruby_llm/toolbox/safety/url_guard.rb', line 29 def uri @uri end |