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