Request More Than One Token

limiter = RateLimit::Limiter.new(apikey: "ACCT_ID|APIKEY")

# only need to do this on startup
limiter.upsert_limit("hit_api", 10, RateLimit::MINUTELY_ROLLING)

limit_result = limiter.acquire("hit_api", 6, acquire_partial: true)

limit_result.acquired.times do  # will get 6
  api.hit_it
end

limit_result = limiter.acquire("hit_api", 6, acquire_partial: true)
limit_result.acquired.times do  # will get 4
  api.hit_it
end