@Immutable
public interface Gists
Modifier and Type | Method and Description |
---|---|
Gist |
create(Map<String,String> files,
boolean visible)
Create a new gist.
|
Gist |
get(String name)
Get gist by name.
|
Github |
github()
Github we're in.
|
Iterable<Gist> |
iterate()
Iterate all gists.
|
void |
remove(String identifier)
Removes a gist by id.
|
Github github()
Gist create(Map<String,String> files, boolean visible) throws IOException
files
- Names and content of filesvisible
- Indicates whether the gist is publicIOException
- If there is any I/O problemGist get(String name)
name
- Name of itIterable<Gist> iterate()
void remove(String identifier) throws IOException
identifier
- Identifier of the gist to be removed.IOException
- If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.