Passed
Pull Request — master (#2)
by Khalil
01:21
created

module.exports   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 18
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 9
c 1
b 0
f 0
nc 1
dl 0
loc 18
rs 9.95
nop 2

2 Functions

Rating   Name   Duplication   Size   Complexity  
A 0 5 1
A 0 5 1
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 (Tag, Limit, Callback)
12
	{
13
		return require("./Methods/Categories/Find")(Credentials,
14
			Utilities, Tag, Limit, Callback);
15
	};
16
17
	Methods.List = function (Type, Callback)
18
	{
19
		return require("./Methods/Categories/Tags")(Credentials,
20
			Utilities, Type, Callback);
21
	};
22
23
	return Methods;
24
};