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 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
dl 0
loc 5
rs 10
nop 2
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.Suggestions = function (Term, Callback)
12
	{
13
		return require("./Methods/Suggest/Suggestions")(Credentials,
14
			Utilities, Term, Callback);
15
	};
16
17
	Methods.Autocomplete = function (Key, Callback)
18
	{
19
		return require("./Methods/Suggest/Autocomplete")(Credentials,
20
			Utilities, Key, Callback);
21
	};
22
23
	return Methods;
24
};