Gists

trait Gists[F[_]]
class Object
trait Matchable
class Any

Value members

Abstract methods

def editGist(gistId: String, description: String, files: Map[String, Option[EditGistFile]], headers: Map[String, String]): F[GHResponse[Gist]]

Edit a gist

Edit a gist

Value Params
files

map describing the filenames of the Gist and its contents and/or new filenames

gistId

of the gist

headers

optional user headers to include in the request

def getGist(gistId: String, sha: Option[String], headers: Map[String, String]): F[GHResponse[Gist]]

Get a single gist or a specific revision of a gist

Get a single gist or a specific revision of a gist

Value Params
gistId

of the gist

headers

optional user headers to include in the request

sha

optional sha of a revision

def newGist(description: String, public: Boolean, files: Map[String, GistFile], headers: Map[String, String]): F[GHResponse[Gist]]

Create a new gist

Create a new gist

Value Params
description

of the gist

files

map describing the filenames of the Gist and its contents

headers

optional user headers to include in the request

public

boolean value that describes if the Gist should be public or not