GistsInterpreter

github4s.interpreters.GistsInterpreter
class GistsInterpreter[F[_]](implicit client: HttpClient[F]) extends Gists[F]

Attributes

Graph
Supertypes
trait Gists[F]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override 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 parameters

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

Attributes

Definition Classes
override 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 parameters

gistId

of the gist

headers

optional user headers to include in the request

sha

optional sha of a revision

Attributes

Definition Classes
override 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 parameters

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

Attributes

Definition Classes