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

Concise view

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

Attributes

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

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

Attributes

gistId

of the gist

headers

optional user headers to include in the request

sha

optional sha of a revision

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

Attributes

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

Definition Classes