Class: Demografix::Quota

Inherits:
Data
  • Object
show all
Defined in:
lib/demografix/models.rb

Overview

The rate-limit window, parsed from the x-rate-limit-* response headers.

Instance Attribute Summary collapse

Instance Attribute Details

#limitObject (readonly)

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



5
6
7
# File 'lib/demografix/models.rb', line 5

def limit
  @limit
end

#remainingObject (readonly)

Returns the value of attribute remaining

Returns:

  • (Object)

    the current value of remaining



5
6
7
# File 'lib/demografix/models.rb', line 5

def remaining
  @remaining
end

#resetObject (readonly)

Returns the value of attribute reset

Returns:

  • (Object)

    the current value of reset



5
6
7
# File 'lib/demografix/models.rb', line 5

def reset
  @reset
end