Class: Notion::Middleware::RateLimiter::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/notion/middleware/rate_limiter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#blocked_untilObject

Returns the value of attribute blocked_until

Returns:

  • (Object)

    the current value of blocked_until



6
7
8
# File 'lib/notion/middleware/rate_limiter.rb', line 6

def blocked_until
  @blocked_until
end

#mutexObject

Returns the value of attribute mutex

Returns:

  • (Object)

    the current value of mutex



6
7
8
# File 'lib/notion/middleware/rate_limiter.rb', line 6

def mutex
  @mutex
end

#tokensObject

Returns the value of attribute tokens

Returns:

  • (Object)

    the current value of tokens



6
7
8
# File 'lib/notion/middleware/rate_limiter.rb', line 6

def tokens
  @tokens
end

#updated_atObject

Returns the value of attribute updated_at

Returns:

  • (Object)

    the current value of updated_at



6
7
8
# File 'lib/notion/middleware/rate_limiter.rb', line 6

def updated_at
  @updated_at
end