(parent, element, route, fromServer)
| 1074 | } |
| 1075 | |
| 1076 | function restangularizeCollectionAndElements(parent, element, route, fromServer) { |
| 1077 | var collection = restangularizeCollection(parent, element, route, fromServer); |
| 1078 | _.each(collection, function(elem) { |
| 1079 | if (elem) { |
| 1080 | restangularizeElem(parent, elem, route, fromServer); |
| 1081 | } |
| 1082 | }); |
| 1083 | return collection; |
| 1084 | } |
| 1085 | |
| 1086 | function getById(id, reqParams, headers) { |
| 1087 | return this.customGET(id.toString(), reqParams, headers); |
nothing calls this directly
no test coverage detected