Skip to content

Commit

Permalink
feat: Give access to request defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode committed May 10, 2019
1 parent 30f7eee commit 4505f26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/templates/APIClient.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export class APIClient {
return {{{API}}};
}

get defaults() {
return this.httpClient.defaults;
}

get interceptors() {
return this.httpClient.interceptors;
}
Expand Down

0 comments on commit 4505f26

Please sign in to comment.