@constructor
()
| 345 | |
| 346 | /** @constructor */ |
| 347 | function Builder() { |
| 348 | var map = {}; |
| 349 | |
| 350 | this.put = function(name, resource) { |
| 351 | map[name] = resource; |
| 352 | return this; |
| 353 | }; |
| 354 | |
| 355 | this.build = function() { |
| 356 | return map; |
| 357 | }; |
| 358 | } |
| 359 | |
| 360 | function post(path) { return resource('POST', path); } |
| 361 | function del(path) { return resource('DELETE', path); } |
nothing calls this directly
no outgoing calls
no test coverage detected