Sha256: d162d5d9b57df47291f8496d8cb639fce87dcd4753a060f95633ddebf016cd98

Contents?: true

Size: 1.8 KB

Versions: 3

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=cec63e307b0e8814e40303ab818802634b0bce18839f668591853528e6bf33cd: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"%(����Z�8^�0���o[��s�����:idI"Ecec63e307b0e8814e40303ab818802634b0bce18839f668591853528e6bf33cd;F:
mtimel+��U

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_networking-0.11.3 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QkC6FZ93YphTOqGi-Io-EaaReUF-d_2jamppx2L56Ik.cache
social_networking-0.11.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QkC6FZ93YphTOqGi-Io-EaaReUF-d_2jamppx2L56Ik.cache
social_networking-0.10.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/QkC6FZ93YphTOqGi-Io-EaaReUF-d_2jamppx2L56Ik.cache