Sha256: 8e74457623d8c2d5d2efe2f270973bb5bb772bdd0fb6f37cb0ad589a105c03d7
Contents?: true
Size: 1.04 KB
Versions: 8
Compression:
Stored size: 1.04 KB
Contents
{I" class:ETI"BundledAsset; 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"required_assets_digest; TI"%2a7775bdde97720f6630f17ea1161e9c; FI" _version; TI"%b910479f035fc02c55a3e167aaa8a0b8; F
Version data entries
8 entries across 4 versions & 1 rubygems