{:uriI"file:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js?type=application/javascript&pipeline=self&id=176f3ad96b8a6b3dba1dc1cf19d0dfcc047e3507ec151bd3fcc401c60b7a243d: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/profiles-resource.js;T: nameI"2social_networking/resources/profiles-resource;T:logical_pathI":social_networking/resources/profiles-resource.self.js;T:content_typeI"application/javascript;T: sourceI";(function() { 'use strict'; function Profiles($resource) { var ProfileResource = $resource('/social_networking/profiles/:id', { id: '@id' }, { 'update': {method: 'PUT'} }); var ProfilesResource = $resource('/social_networking/profiles'); function Profile() {} Profile.getAll = function() { return ProfilesResource.query().$promise; }; Profile.getOne = function(id) { return ProfileResource.get({ id: id }).$promise; }; // Update a Goal on the server. Profile.update = function(attributes) { var profile = new ProfileResource(); return profile.$update({ id: attributes.profile.id, icon_name: attributes.iconSrc }); }; return Profile; } angular.module('socialNetworking.services') .service('Profiles', ['$resource', Profiles]); })(); ;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/profiles-resource.js;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%Fvec rޭ3"Gq -q4F: lengthi:dependencies_digest"%N ;\&PRL^͢