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

Version Path
social_networking-0.11.7 spec/dummy/tmp/cache/assets/development/sprockets/6e95a71bd460b774ea4fb94f1ad5a05d
social_networking-0.11.7 spec/dummy/tmp/cache/assets/development/sprockets/6eccdaa6d99192fbc04fe47ad1db8f82
social_networking-0.11.6 spec/dummy/tmp/cache/assets/development/sprockets/6e95a71bd460b774ea4fb94f1ad5a05d
social_networking-0.11.6 spec/dummy/tmp/cache/assets/development/sprockets/6eccdaa6d99192fbc04fe47ad1db8f82
social_networking-0.11.2 spec/dummy/tmp/cache/assets/development/sprockets/6e95a71bd460b774ea4fb94f1ad5a05d
social_networking-0.11.2 spec/dummy/tmp/cache/assets/development/sprockets/6eccdaa6d99192fbc04fe47ad1db8f82
social_networking-0.11.1 spec/dummy/tmp/cache/assets/development/sprockets/6e95a71bd460b774ea4fb94f1ad5a05d
social_networking-0.11.1 spec/dummy/tmp/cache/assets/development/sprockets/6eccdaa6d99192fbc04fe47ad1db8f82