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.
807 |
# File 'sig/types.rbs', line 807
def initialize: (?rpm: Integer, ?tpm: Integer, ?window: Integer) -> void
|
Instance Attribute Details
#rpm ⇒ Integer?
Returns the value of attribute rpm.
803 804 805 |
# File 'sig/types.rbs', line 803 def rpm @rpm end |
#tpm ⇒ Integer?
Returns the value of attribute tpm.
804 805 806 |
# File 'sig/types.rbs', line 804 def tpm @tpm end |
#window ⇒ Integer?
Returns the value of attribute window.
805 806 807 |
# File 'sig/types.rbs', line 805 def window @window end |
Class Method Details
.default ⇒ RateLimitConfig
808 |
# File 'sig/types.rbs', line 808
def self.default: () -> RateLimitConfig
|