Sha256: e377fa0427fcb588d1094c282f38683891175705bf62ae21e9c7c2f4045b0985

Contents?: true

Size: 1.88 KB

Versions: 8

Compression:

Stored size: 1.88 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"5social_networking/resources/profiles-resource.js;FI"
pathname;TI"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+¢¿UI"length;TiÐI"digest;TI"%16a3219cc3b592c3e3b81e86bd716b1d;FI"source;TI"Ð;(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]);
})();
;TI"dependency_digest;TI"%5d7a2e59a3d32966094c87e6178a7966;FI"required_paths;T[I"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js;FI"dependency_paths;T[{I"	path;TI"€/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/profiles-resource.js;F@I"2015-08-03T12:17:18-05:00;T@I"%16a3219cc3b592c3e3b81e86bd716b1d;FI"
_version;TI"%069e88c06b889877799890854d7f4c40;F

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
social_networking-0.13.1 spec/dummy/tmp/cache/assets/development/sprockets/d0c2732c72f320999983c2e6cff4cd9c
social_networking-0.13.0 spec/dummy/tmp/cache/assets/development/sprockets/d0c2732c72f320999983c2e6cff4cd9c
social_networking-0.11.8 spec/dummy/tmp/cache/assets/development/sprockets/d0c2732c72f320999983c2e6cff4cd9c
social_networking-0.11.5 spec/dummy/tmp/cache/assets/development/sprockets/d0c2732c72f320999983c2e6cff4cd9c
social_networking-0.11.4 spec/dummy/tmp/cache/assets/development/sprockets/d0c2732c72f320999983c2e6cff4cd9c
social_networking-0.11.3 spec/dummy/tmp/cache/assets/development/sprockets/d0c2732c72f320999983c2e6cff4cd9c
social_networking-0.11.0 spec/dummy/tmp/cache/assets/development/sprockets/d0c2732c72f320999983c2e6cff4cd9c
social_networking-0.10.0 spec/dummy/tmp/cache/assets/development/sprockets/d0c2732c72f320999983c2e6cff4cd9c