Lines of Code | 8 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import Response from './Response' |
||
2 | |||
3 | export default class RedirectResponse extends Response { |
||
4 | constructor(location, statusCode = 301, ruleId = null) { |
||
5 | 7 | super(statusCode, ruleId) |
|
6 | 7 | this.location = location |
|
7 | } |
||
8 | } |
||
9 |