Passed
Push — master ( 86173c...016d1e )
by Khalil
38s queued 11s
created

module.exports   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
c 0
b 0
f 0
nc 1
dl 0
loc 5
rs 10
nop 3
1
/**
2
 * @author Jinzulen
3
 * @license Apache 2.0
4
 * TenorJS - Lightweight NodeJS wrapper around the Tenor.com API.
5
 */
6
7
module.exports = function (Credentials, Utilities)
8
{
9
	const Methods = {};
10
11
	Methods.Find = function (IDs, Callback)
12
	{
13
		return require("./Methods/Search/Find")(Credentials,
14
			Utilities, IDs, Callback);
15
	};
16
17
	Methods.Query = function (Term, Limit, Callback)
18
	{
19
		return require("./Methods/Search/Query")(Credentials,
20
			Utilities, Term, Limit, Callback);
21
	};
22
23
	Methods.Random = function (Key, Limit, Callback)
24
	{
25
		return require("./Methods/Search/Random")(Credentials,
26
			Utilities, Key, Limit, Callback);
27
	};
28
29
	return Methods;
30
};