Sha256: 675fe4f8ce9f9db842a0be9c21e3c7f1717a2ddaf0028b4f2e4df201f042e562
Contents?: true
Size: 1.72 KB
Versions: 2
Compression:
Stored size: 1.72 KB
Contents
{:uriI"ßfile:///Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/resources/nudges-resource.js?type=application/javascript&pipeline=self&id=b01c880b6c58c4e888abe5948d17f3297bfeca991b0ff0881feb4d720ea30b75:ET:load_pathI"@/Users/ericcf/work/social_networking/app/assets/javascripts;T: filenameI"o/Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/resources/nudges-resource.js;T: nameI"0social_networking/resources/nudges-resource;T:logical_pathI"8social_networking/resources/nudges-resource.self.js;T:content_typeI"application/javascript;T:sourceI"$;(function() { "use strict"; function Nudges($resource) { var NudgeResource = $resource('/social_networking/nudges/:id', { id: '@id' }); function Nudge() {} Nudge.create = function(recipient_id) { var nudge = new NudgeResource({ recipientId: recipient_id }); return nudge.$save(); }; Nudge.search = function() { return NudgeResource.query.$promise; }; return Nudge; } angular.module('socialNetworking.services') .service('Nudges', ['$resource', Nudges]); })(); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"}file-digest:///Users/ericcf/work/social_networking/app/assets/javascripts/social_networking/resources/nudges-resource.js;TTF: requiredo;;} F:stubbedo;;} F: linkso;;} F:charsetI" utf-8;F:digest"%ÔƒZ<FLÏIÛMkq³!Âvd+ðúV¹îŸQex|¯.Ý:lengthi$:dependencies_digest"%jv×Gi!UB Xçü¿—‰ƒ^בZ>éϸš:idI"Eb01c880b6c58c4e888abe5948d17f3297bfeca991b0ff0881feb4d720ea30b75;F: mtimel+a‹3W
Version data entries
2 entries across 2 versions & 1 rubygems