Class: Kimotter::APILimit

Inherits:
Object
  • Object
show all
Defined in:
lib/kimotter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAPILimit

Returns a new instance of APILimit.



11
12
13
# File 'lib/kimotter.rb', line 11

def initialize
  @current = @max = nil
end

Instance Attribute Details

#limitObject

Returns the value of attribute limit.



8
9
10
# File 'lib/kimotter.rb', line 8

def limit
  @limit
end

#usedObject

Returns the value of attribute used.



9
10
11
# File 'lib/kimotter.rb', line 9

def used
  @used
end