Sha256: 72d99f9f3a200369967e8fd9af781e81d15d10d8a211be73b35bffc48f2733be

Contents?: true

Size: 1.8 KB

Versions: 7

Compression:

Stored size: 1.8 KB

Contents

{:uriI"ófile:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/nudges-resource.js?type=application/javascript&pipeline=self&id=5bbfa56b4016dabd73a1b134e001b846bf34da26dd72dc65320cadae26274477:ET:load_pathI"T/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts;T:
filenameI"~/Users/usabilitymonitor/Desktop/Github/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/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/nudges-resource.js;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%ÔƒZ<FLÏIÛMkq³!Âvd+ðúV¹îŸQex|¯.Ý:lengthi$:dependencies_digest"%M8b‚½¿‡æU6›”$S(d‹ÛUØÌÞGh‚ÁÑ`:idI"E5bbfa56b4016dabd73a1b134e001b846bf34da26dd72dc65320cadae26274477;F:
mtimel+¢¿U

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
social_networking-0.13.1 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-Isv6q98jAhaZ39UBj4K83GwraeAdim5xx6ht_pXSGE.cache
social_networking-0.13.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-Isv6q98jAhaZ39UBj4K83GwraeAdim5xx6ht_pXSGE.cache
social_networking-0.11.8 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-Isv6q98jAhaZ39UBj4K83GwraeAdim5xx6ht_pXSGE.cache
social_networking-0.11.5 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-Isv6q98jAhaZ39UBj4K83GwraeAdim5xx6ht_pXSGE.cache
social_networking-0.11.4 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-Isv6q98jAhaZ39UBj4K83GwraeAdim5xx6ht_pXSGE.cache
social_networking-0.11.3 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-Isv6q98jAhaZ39UBj4K83GwraeAdim5xx6ht_pXSGE.cache
social_networking-0.11.0 spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-Isv6q98jAhaZ39UBj4K83GwraeAdim5xx6ht_pXSGE.cache