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

Commit

Permalink
feat(support): add iceberg support (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericEspiau authored and antleblanc committed May 27, 2019
1 parent 36a3b7b commit 3a07978
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/support/support.iceberg.service.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
angular
.module("ovh-api-services")
.service("OvhApiSupportIceberg", function (iceberg) {
"use strict";

var alertResource = iceberg("/support/tickets");

return alertResource;
});
3 changes: 3 additions & 0 deletions src/support/support.service.js
Original file line number Diff line number Diff line change
@@ -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");
}
Expand Down

0 comments on commit 3a07978

Please sign in to comment.