Class: Tavily::Usage
Overview
Credit usage information, present when include_usage: true is requested.
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
-
#credits ⇒ Integer?
Number of API credits consumed by the request.
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
#credits ⇒ Integer?
Returns number of API credits consumed by the request.
9 |
# File 'lib/tavily/responses.rb', line 9 attribute :credits |