Sha256: ecb380d1a751b2c2e831d8147f1043dec933a3dc65a988b564fe869665b60715
Contents?: true
Size: 1.42 KB
Versions: 4
Compression:
Stored size: 1.42 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"3social_networking/resources/nudges-resource.js; FI" pathname; TI"t/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/nudges-resource.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+æ#\TI"length; Ti$I"digest; TI"%4ac746ae21d2290b81a965fbf43bbca9; FI"source; TI"$;(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]); })(); ; TI"dependency_digest; TI"%2a7775bdde97720f6630f17ea1161e9c; FI"required_paths; T[I"t/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/nudges-resource.js; FI"dependency_paths; T[{I" path; TI"t/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/nudges-resource.js; FI" mtime; TI"2014-11-06T19:44:06-06:00; TI"digest; TI"%4ac746ae21d2290b81a965fbf43bbca9; FI" _version; TI"%b910479f035fc02c55a3e167aaa8a0b8; F
Version data entries
4 entries across 4 versions & 1 rubygems