Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
feat: add banner aapi service (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrille Bourgois authored Sep 10, 2019
1 parent 99397cf commit 4d43594
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/api/banner/banner.aapi.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
angular.module('ovh-api-services').service('OvhApiBannerAapi', ($resource) => {
const resource = $resource('/banner', {
}, {
query: {
method: 'GET',
serviceType: 'aapi',
},
});

return resource;
});
5 changes: 5 additions & 0 deletions src/api/banner/banner.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
angular.module('ovh-api-services').service('OvhApiBanner', $injector => ({
Aapi() {
return $injector.get('OvhApiBannerAapi');
},
}));

0 comments on commit 4d43594

Please sign in to comment.