chore: add support for prefix and suffix with enhanced API

This commit is contained in:
Randall Morey committed 2020-07-15 15:52:21 -04:00
1 parent 3b37c0f92a
commit 89b736744f
3 files changed
+137 -1

No files matched your search

+4 -1
View File
@@ -1,4 +1,5 @@
import RESTAdapter from '@ember-data/adapter/rest';
import AdapterBuildURLMixin from '../mixins/adapter-build-url';
import config from 'ember-get-config';
import { get } from '@ember/object';
import { InvalidError } from '@ember-data/adapter/error';
@@ -36,7 +37,9 @@ function prenormalizeArrayResponse(response) {
return payloadIsBlank(response) ? {items: []} : response;
}
export default class ApplicationAdapter extends RESTAdapter {
export default class ApplicationAdapter extends RESTAdapter.extend(
AdapterBuildURLMixin
) {
// =attributes
/**