Class: RubyLLM::Toolbox::Tools::HttpHelpers::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_llm/toolbox/tools/http_helpers.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



17
18
19
# File 'lib/ruby_llm/toolbox/tools/http_helpers.rb', line 17

def body
  @body
end

#final_urlObject

Returns the value of attribute final_url

Returns:

  • (Object)

    the current value of final_url



17
18
19
# File 'lib/ruby_llm/toolbox/tools/http_helpers.rb', line 17

def final_url
  @final_url
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



17
18
19
# File 'lib/ruby_llm/toolbox/tools/http_helpers.rb', line 17

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



17
18
19
# File 'lib/ruby_llm/toolbox/tools/http_helpers.rb', line 17

def status
  @status
end