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

Commit

Permalink
feat(email-mxplan): add new service
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericEspiau authored and antleblanc committed Jan 8, 2019
1 parent 79d7965 commit 71ce112
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/email/mxPlan/email-mxPlan.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
angular
.module("ovh-api-services")
.service(
"OvhApiEmailMXPlan",
function ($injector) {
"use strict";

return {
v7: function () {
return $injector.get("OvhApiEmailMXPlanV7");
}
};
});
13 changes: 13 additions & 0 deletions src/email/mxPlan/email-mxPlan.v7.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
angular
.module("ovh-api-services")
.service(
"OvhApiEmailMXPlanV7",
function (apiv7) {
"use strict";

var emailMXPlanEndpoint = apiv7("/email/mxplan/:serviceName/", {
serviceName: "@serviceName"
});

return emailMXPlanEndpoint;
});

0 comments on commit 71ce112

Please sign in to comment.