Class: LiterLlm::RateLimitConfig
- Inherits:
-
Object
- Object
- LiterLlm::RateLimitConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#rpm ⇒ Integer?
Returns the value of attribute rpm.
-
#tpm ⇒ Integer?
Returns the value of attribute tpm.
-
#window ⇒ Integer?
Returns the value of attribute window.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ RateLimitConfig
constructor
A new instance of RateLimitConfig.
Constructor Details
#initialize ⇒ RateLimitConfig
Returns a new instance of RateLimitConfig.
810 |
# File 'sig/types.rbs', line 810
def initialize: (?rpm: Integer, ?tpm: Integer, ?window: Integer) -> void
|
Instance Attribute Details
#rpm ⇒ Integer?
Returns the value of attribute rpm.
806 807 808 |
# File 'sig/types.rbs', line 806 def rpm @rpm end |
#tpm ⇒ Integer?
Returns the value of attribute tpm.
807 808 809 |
# File 'sig/types.rbs', line 807 def tpm @tpm end |
#window ⇒ Integer?
Returns the value of attribute window.
808 809 810 |
# File 'sig/types.rbs', line 808 def window @window end |
Class Method Details
.default ⇒ RateLimitConfig
811 |
# File 'sig/types.rbs', line 811
def self.default: () -> RateLimitConfig
|