Skip to content

Commit

Permalink
Fix README for resource class config variables
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklandgrebe authored Jan 8, 2019
1 parent e46e84b commit 9bdd508
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,7 @@ You can create your own custom interface if your API adheres to its own standard

```javascript
class Product extends MyLibrary.Base {
static define() {
this.className = 'Product';
}
static className = 'Product';
}
```

Expand All @@ -447,9 +445,7 @@ class Product extends MyLibrary.Base {

```javascript
class Product extends MyLibrary.Base {
static define() {
this.queryName = 'products'
}
static queryName = 'products';
}
```

Expand All @@ -459,9 +455,7 @@ class Product extends MyLibrary.Base {

```javascript
class Product extends MyLibrary.Base {
static define() {
this.primaryKey = 'token'
}
static primaryKey = 'token';
}
```

Expand Down

0 comments on commit 9bdd508

Please sign in to comment.