Requires

Methods

(static) getCard(query, gistsResponse) → {Object}

Returns the card object

Parameters:
NameTypeDescription
queryObject

Query object

Properties
NameTypeDescription
themestring

Theme name

nnumber

Number of gists to display

titlestring

Title of the card

gistsResponseArray.<Object>

Gists response

Returns:

Card object

Type: 
Object