Class: FiberStream::RateLimiter::Request

Inherits:
Data
  • Object
show all
Defined in:
lib/fiber_stream/rate_limiter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#burstObject (readonly)

Returns the value of attribute burst

Returns:

  • (Object)

    the current value of burst



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

def burst
  @burst
end

#nowObject (readonly)

Returns the value of attribute now

Returns:

  • (Object)

    the current value of now



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

def now
  @now
end

#perObject (readonly)

Returns the value of attribute per

Returns:

  • (Object)

    the current value of per



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

def per
  @per
end

#permitsObject (readonly)

Returns the value of attribute permits

Returns:

  • (Object)

    the current value of permits



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

def permits
  @permits
end

#rateObject (readonly)

Returns the value of attribute rate

Returns:

  • (Object)

    the current value of rate



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

def rate
  @rate
end