Package com.jcabi.github
Interface Limits
- All Known Implementing Classes:
Limits.Throttled
@Immutable
public interface Limits
GitHub Rate Limit API.
- Since:
- 0.6
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
-
Field Details
-
CORE
Resource name.- See Also:
-
SEARCH
Resource name.- See Also:
-
-
Method Details
-
github
GitHub github()GitHub we're in.- Returns:
- GitHub
-
get
Get limit for the given resource.- Parameters:
resource- Name of resource- Returns:
- Limit
-