Class: BinanceClient::RateLimit
- Defined in:
- lib/binance_client/models/rate_limit.rb
Constant Summary collapse
- INTERVALS =
%w[SECOND MINUTE DAY].freeze
- METHODS =
%i[ rate_limit_type interval interval_num limit ].freeze
Instance Attribute Summary collapse
-
#raw_hash ⇒ Object
Returns the value of attribute raw_hash.
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ RateLimit
constructor
A new instance of RateLimit.
Constructor Details
#initialize(**kwargs) ⇒ RateLimit
Returns a new instance of RateLimit.
15 16 17 18 19 |
# File 'lib/binance_client/models/rate_limit.rb', line 15 def initialize(**kwargs) kwargs.each do |key, value| self.send("#{key}=", value) end end |
Instance Attribute Details
#raw_hash ⇒ Object
Returns the value of attribute raw_hash.
12 13 14 |
# File 'lib/binance_client/models/rate_limit.rb', line 12 def raw_hash @raw_hash end |