Class: Auth0::RateLimitEncountered

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/auth0/exception.rb

Overview

Auth0 API rate-limiting encountered

Instance Method Summary collapse

Instance Method Details

#resetObject



67
68
69
# File 'lib/auth0/exception.rb', line 67

def reset
  Time.at(Integer(headers[:x_ratelimit_reset])).utc
end