From 3a07978d9ec9e64a801ae00839b87d03408f6b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Espiau?= <7319147+FredericEspiau@users.noreply.github.com> Date: Mon, 27 May 2019 14:32:17 +0200 Subject: [PATCH] feat(support): add iceberg support (#169) --- src/support/support.iceberg.service.js | 9 +++++++++ src/support/support.service.js | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 src/support/support.iceberg.service.js diff --git a/src/support/support.iceberg.service.js b/src/support/support.iceberg.service.js new file mode 100644 index 00000000..792c509b --- /dev/null +++ b/src/support/support.iceberg.service.js @@ -0,0 +1,9 @@ +angular + .module("ovh-api-services") + .service("OvhApiSupportIceberg", function (iceberg) { + "use strict"; + + var alertResource = iceberg("/support/tickets"); + + return alertResource; + }); diff --git a/src/support/support.service.js b/src/support/support.service.js index e9fe6195..976f8c60 100644 --- a/src/support/support.service.js +++ b/src/support/support.service.js @@ -1,6 +1,9 @@ angular.module("ovh-api-services").service("OvhApiSupport", function ($injector) { "use strict"; return { + Iceberg: function () { + return $injector.get("OvhApiSupportIceberg"); + }, v6: function () { return $injector.get("OvhApiSupportV6"); }