Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1.037 |
Changes | 8 | ||
Bugs | 0 | Features | 0 |
1 | "use strict"; |
||
13 | constructor(uri, method = 'GET', payload = {}, queryString = {}, headers = {}, form = {}, json = true) { |
||
14 | this.uri = uri; |
||
15 | 10 | this.method = method; |
|
16 | 10 | this.payload = payload; |
|
17 | 10 | this.queryString = queryString; |
|
18 | 10 | this.headers = headers; |
|
19 | 10 | this.form = form; |
|
20 | 10 | this.json = json; |
|
21 | } |
||
22 | |||
81 |