ember-tribe 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,8 @@ import ENV from '<%= dasherizedPackageName %>/config/environment';
3
3
  import { underscore } from '@ember/string';
4
4
 
5
5
  export default class ApplicationAdapter extends JSONAPIAdapter {
6
- host = ENV.TribeENV.API_URL;
6
+ host = ENV.TribeENV.BASE_URL;
7
+ namespace = 'api.php';
7
8
 
8
9
  pathForType(type) {
9
10
  return underscore(type);
@@ -0,0 +1,5 @@
1
+ import Model, { attr } from '@ember-data/model';
2
+
3
+ export default class WebappModel extends Model {
4
+ @attr modules;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-tribe",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "The default blueprint for using Tribe API within EmberJS.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -1,9 +0,0 @@
1
- import Model, { attr } from '@ember-data/model';
2
-
3
- export default class TypesJsonModel extends Model {
4
- //types.json data use schema
5
- @attr schema;
6
-
7
- //for any data type use modules
8
- //@attr modules;
9
- }