+ CLOUD PAGES; style updated; other changes
This commit is contained in:
1 parent
dad12f52f4
commit
edf5fbf4bd
27 files changed
+339
-161
No files matched your search
@@ -5,6 +5,7 @@ import APITeacher from './APITeacher';
|
||||
import APISchedule from './APISchedule';
|
||||
import APIEvent from './APIEvent';
|
||||
import APIArticle from './APIArticle';
|
||||
import APIPage from './APIPage';
|
||||
|
||||
export default class API {
|
||||
constructor(request) {
|
||||
@@ -15,5 +16,6 @@ export default class API {
|
||||
this.schedule = new APISchedule(request);
|
||||
this.event = new APIEvent(request);
|
||||
this.article = new APIArticle(request);
|
||||
this.page = new APIPage(request);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import EndPoint from './EndPoint';
|
||||
|
||||
export default class APIPage extends EndPoint {
|
||||
url(url) {
|
||||
return this.get(url);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user