Package com.jcabi.github
Interface Gists
@Immutable
public interface Gists
GitHub gists.
- Since:
- 0.1
- See Also:
-
Method Summary
-
Method Details
-
github
GitHub github()GitHub we're in.- Returns:
- GitHub
-
create
Create a new gist.- Parameters:
files- Names and content of filesvisible- Indicates whether the gist is public- Returns:
- Gist
- Throws:
IOException- If there is any I/O problem- See Also:
-
get
Get gist by name.- Parameters:
name- Name of it- Returns:
- Gist
- See Also:
-
iterate
Iterate all gists.- Returns:
- Iterator of gists
- See Also:
-
remove
Removes a gist by id.- Parameters:
identifier- Identifier of the gist to be removed.- Throws:
IOException- If there is any I/O problem
-