Class: AgentHarness::TokenUsageTracker::QuotaConfig
- Inherits:
-
Struct
- Object
- Struct
- AgentHarness::TokenUsageTracker::QuotaConfig
- Defined in:
- lib/agent_harness/token_usage_tracker.rb
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#reset_at ⇒ Object
Returns the value of attribute reset_at.
-
#unit ⇒ Object
Returns the value of attribute unit.
Instance Method Summary collapse
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit
30 31 32 |
# File 'lib/agent_harness/token_usage_tracker.rb', line 30 def limit @limit end |
#reset_at ⇒ Object
Returns the value of attribute reset_at
30 31 32 |
# File 'lib/agent_harness/token_usage_tracker.rb', line 30 def reset_at @reset_at end |
#unit ⇒ Object
Returns the value of attribute unit
30 31 32 |
# File 'lib/agent_harness/token_usage_tracker.rb', line 30 def unit @unit end |
Instance Method Details
#configured? ⇒ Boolean
31 32 33 |
# File 'lib/agent_harness/token_usage_tracker.rb', line 31 def configured? !limit.nil? end |