Class: Tavily::ResearchSource

Inherits:
Object
  • Object
show all
Defined in:
lib/tavily/responses.rb

Overview

A source cited by a research task.

Instance Attribute Summary

Attributes inherited from Object

#attributes

Instance Method Summary collapse

Methods inherited from Object

#==, #[], attribute, #dig, #hash, #initialize, #inspect, #key?, #to_h

Constructor Details

This class inherits a constructor from Tavily::Object

Instance Method Details

#faviconString?

Returns favicon URL.

Returns:

  • (String, nil)

    favicon URL.



154
# File 'lib/tavily/responses.rb', line 154

attribute :favicon

#titleString?

Returns source title.

Returns:

  • (String, nil)

    source title.



150
# File 'lib/tavily/responses.rb', line 150

attribute :title

#urlString?

Returns source URL.

Returns:

  • (String, nil)

    source URL.



152
# File 'lib/tavily/responses.rb', line 152

attribute :url