Sha256: 4125ff489e1d67b76b2ddafd9972b846974c7c359d2b0b284b800175da48bb5b
Contents?: true
Size: 291 Bytes
Versions: 11
Compression:
Stored size: 291 Bytes
Contents
module Quaderno::Helpers module RateLimit def rate_limit_info=(response) @rate_limit_info = { reset: response.headers['x-ratelimit-reset'].to_i, remaining: response.headers["x-ratelimit-remaining"].to_i } end def rate_limit_info @rate_limit_info end end end
Version data entries
11 entries across 11 versions & 1 rubygems