Sha256: 15ddc2d5dd6e904cfddd407b676976d9cc8f3afefe11989f2ca469fd732a4a47
Contents?: true
Size: 632 Bytes
Versions: 2
Compression:
Stored size: 632 Bytes
Contents
services.factory('Keys', ['$resource', function($resource) { return $resource(window.basePath + '/api/keys.json', {}, { 'get': { method: 'GET', isArray:true }, 'save': { method: 'POST' }, 'update': { method: 'PUT' } }); }]); services.factory('Key', ['$resource', function($resource) { return $resource(window.basePath + '/api/keys/:key.json', { key: '@key' }, { 'find': { method: 'GET' }, 'delete': { method: 'DELETE' } }); }]); services.factory('Stats', ['$resource', function($resource) { return $resource(window.basePath + '/api/stats.json', {}, { 'all': { method: 'GET' } }); }]);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
memcached-manager-0.4.0 | lib/public/javascripts/angular/services/resources.js |
memcached-manager-0.3.0 | lib/public/javascripts/angular/services/resources.js |