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

Commit

Permalink
feat(email.exchange): add apiv6 basic routes
Browse files Browse the repository at this point in the history
  • Loading branch information
marie-j authored and antleblanc committed Nov 16, 2018
1 parent fe82ce7 commit 33da773
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/email/exchange/service/email-exchange-service.service.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
angular.module("ovh-api-services").service("OvhApiEmailExchangeService", function ($injector) {
"use strict";
return {
v6: function () {
return $injector.get("OvhApiEmailExchangeServiceV6");
},
v7: function () {
return $injector.get("OvhApiEmailExchangeServiceV7");
}
Expand Down
10 changes: 10 additions & 0 deletions src/email/exchange/service/email-exchange-service.v6.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
angular.module("ovh-api-services").service("OvhApiEmailExchangeServiceV6", function ($resource) {
"use strict";

var exchangeEndpoint = $resource("/email/exchange/:organizationName/service/:exchangeService", {
organizationName: "@organizationName",
exchangeService: "@exchangeService"
});

return exchangeEndpoint;
});

0 comments on commit 33da773

Please sign in to comment.