Add missing getRestangularUrl method

Both `RestangularElement` and `RestangularCollection` were missing the `getRestangularUrl`.

https://github.com/mgonto/restangular#element-methods
This commit is contained in:
Santi Albo
2013-08-01 12:19:52 +01:00
parent ac5577e72e
commit 709fe49bf3
+2
View File
@@ -31,6 +31,7 @@ interface RestangularElement extends Restangular {
trace(queryParams?, headers?): ng.IPromise;
options(queryParams?, headers?): ng.IPromise;
patch(queryParams?, headers?): ng.IPromise;
getRestangularUrl(): string;
}
interface RestangularCollection extends Restangular {
@@ -41,6 +42,7 @@ interface RestangularCollection extends Restangular {
options(queryParams?, headers?): ng.IPromise;
patch(queryParams?, headers?): ng.IPromise;
putElement(idx, params, headers): ng.IPromise;
getRestangularUrl(): string;
}
interface RestangularCustom {