Sha256: 757fbccbb701a4752523114f7f33207ffda5566c66f11f2c353615cf11d65865

Contents?: true

Size: 1.26 KB

Versions: 8

Compression:

Stored size: 1.26 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"9social_networking/resources/on-your-mind-resource.js;FI"
pathname;TI"z/Users/ems408/workspace/social_networking/app/assets/javascripts/social_networking/resources/on-your-mind-resource.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+æ#\TI"length;TiùI"digest;TI"%ee40b3567af2ac76dfa73cf70dfe6291;FI"source;TI"ù;(function() {
  'use strict';

  // Communicates with the 'on_the_mind_statements' server API.
  function OnYourMindStatements($resource) {
    var OnYourMindResource = $resource(
        '/social_networking/on_the_mind_statements/:id',
        { id: '@id' }
      );

    function OnYourMind() {}

    // Create a new 'On the Mind Statement' on the server.
    //
    // returns {Promise} A promise of the request.
    OnYourMind.create = function(attributes) {
      var onYourMind = new OnYourMindResource({
        description: attributes.description
      });

      return onYourMind.$save();
    };

    return OnYourMind;
  }

  angular.module('socialNetworking.services')
    .service('OnYourMindResource', ['$resource', OnYourMindStatements]);
})();
;TI"required_assets_digest;TI"%555f75dc57d3d45375a0ec38d58bb7b7;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/2f0171a131280a0fefbff5ed1b64fd9b
social_networking-0.11.7 spec/dummy/tmp/cache/assets/development/sprockets/ac4b4a27a2f9dcf1d29b6a1a535ca0f8
social_networking-0.11.6 spec/dummy/tmp/cache/assets/development/sprockets/2f0171a131280a0fefbff5ed1b64fd9b
social_networking-0.11.6 spec/dummy/tmp/cache/assets/development/sprockets/ac4b4a27a2f9dcf1d29b6a1a535ca0f8
social_networking-0.11.2 spec/dummy/tmp/cache/assets/development/sprockets/2f0171a131280a0fefbff5ed1b64fd9b
social_networking-0.11.2 spec/dummy/tmp/cache/assets/development/sprockets/ac4b4a27a2f9dcf1d29b6a1a535ca0f8
social_networking-0.11.1 spec/dummy/tmp/cache/assets/development/sprockets/2f0171a131280a0fefbff5ed1b64fd9b
social_networking-0.11.1 spec/dummy/tmp/cache/assets/development/sprockets/ac4b4a27a2f9dcf1d29b6a1a535ca0f8