Skip to content

Instantly share code, notes, and snippets.

@chrislea
Created August 1, 2011 21:54
Show Gist options
  • Save chrislea/1119093 to your computer and use it in GitHub Desktop.
Save chrislea/1119093 to your computer and use it in GitHub Desktop.
Not sure what ExcludeEncoder's deal is
sprintly.cache.getProxy('product')
Object
account: Object
active: true
customer_payment_profile_id: "67890"
customer_profile_id: "12345"
exp_month: 1
exp_year: 14
failures: 0
invite: null
last_billed_on: "2011-07-30 20:13:40.032527"
masked_credit_card: "xxxx1111"
pk: 1
price_per_seat: 15
seats: 10
user: 1
__proto__: Object
archived: false
created: "2011-07-30 20:14:16.196533"
description: null
last_activity: "2011-07-30 20:14:38.682058"
last_item_number: 1
modified: "2011-07-30 20:14:38.680023"
pk: 1
slug: "awesome-product"
title: "awesome product"
webhook_hash: "v9Spm9TaTLEjrK6bXMjSbNBgUF4WbUCn"
__proto__: Object
var log = function(data) {
console.log(data);
};
undefined
$.dajax.get('wasatch', 'product', 1, log);
undefined
Object
archived: false
created: "2011-07-30 20:14:16.196533"
description: null
last_activity: "2011-07-30 20:14:38.682058"
last_item_number: 1
modified: "2011-07-30 20:14:38.680023"
pk: 1
slug: "awesome-product"
title: "awesome product"
webhook_hash: "v9Spm9TaTLEjrK6bXMjSbNBgUF4WbUCn"
__proto__: Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment