Exception: Legion::Extensions::Github::RateLimitError
- Defined in:
- lib/legion/extensions/github/errors.rb
Instance Attribute Summary collapse
-
#credential_fingerprint ⇒ Object
readonly
Returns the value of attribute credential_fingerprint.
-
#reset_at ⇒ Object
readonly
Returns the value of attribute reset_at.
Instance Method Summary collapse
-
#initialize(message = 'GitHub API rate limit exceeded', reset_at: nil, credential_fingerprint: nil) ⇒ RateLimitError
constructor
A new instance of RateLimitError.
Constructor Details
#initialize(message = 'GitHub API rate limit exceeded', reset_at: nil, credential_fingerprint: nil) ⇒ RateLimitError
Returns a new instance of RateLimitError.
11 12 13 14 15 |
# File 'lib/legion/extensions/github/errors.rb', line 11 def initialize( = 'GitHub API rate limit exceeded', reset_at: nil, credential_fingerprint: nil) @reset_at = reset_at @credential_fingerprint = credential_fingerprint super() end |
Instance Attribute Details
#credential_fingerprint ⇒ Object (readonly)
Returns the value of attribute credential_fingerprint.
9 10 11 |
# File 'lib/legion/extensions/github/errors.rb', line 9 def credential_fingerprint @credential_fingerprint end |
#reset_at ⇒ Object (readonly)
Returns the value of attribute reset_at.
9 10 11 |
# File 'lib/legion/extensions/github/errors.rb', line 9 def reset_at @reset_at end |