UNPKG
sdk-lord-of-the-rings
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
```bash npm i sdk-lord-of-the-rings ```
sdk-lord-of-the-rings
/
src
/
entity
/
character.js
12 lines
(9 loc)
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
;
import
Endpoint
from
'../endpoint.js'
;
class
Character
extends
Endpoint
{
quote
(
characterId
) {
const
urlTemplate =
this
.
_addUrlSubpath
([characterId,
'quote'
]);
return
this
.
_request
(urlTemplate); } }
export
default
Character
;