☰
Debian Codegraph
@
0.1.46+~cs5.6.11-3
0.1.46+~cs5.6.11-2
/
/
lib
/
route-handlers
/
object.js
☽
☼
lib/route-handlers/object.js
code
plain
raw
Expat
2016, Sam Selikoff
debian/copyright
1
/**
2
* @hide
3
*/
4
export default class ObjectRouteHandler {
5
constructor(schema, serializerOrRegistry, object) {
6
this.schema = schema;
7
this.serializerOrRegistry = serializerOrRegistry;
8
this.object = object;
9
}
10
11
handle(/* request */) {
12
return this.object;
13
}
14
}