{I" class:ETI"BundledAsset;FI"logical_path;TI"9social_networking/resources/on-your-mind-resource.js;FI" pathname;TI"„/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/resources/on-your-mind-resource.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+¢¿UI" length;TiùI" digest;TI"%57697af0b9727b232ca603aa94891b55;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"%ca41f72dcbe2838effe89c6a08fb9198;FI" _version;TI"%069e88c06b889877799890854d7f4c40;F