Class: Kimotter::APILimit
- Inherits:
-
Object
- Object
- Kimotter::APILimit
- Defined in:
- lib/kimotter.rb
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#used ⇒ Object
Returns the value of attribute used.
Instance Method Summary collapse
-
#initialize ⇒ APILimit
constructor
A new instance of APILimit.
Constructor Details
#initialize ⇒ APILimit
Returns a new instance of APILimit.
11 12 13 |
# File 'lib/kimotter.rb', line 11 def initialize @current = @max = nil end |
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit.
8 9 10 |
# File 'lib/kimotter.rb', line 8 def limit @limit end |
#used ⇒ Object
Returns the value of attribute used.
9 10 11 |
# File 'lib/kimotter.rb', line 9 def used @used end |