Skip to content

Instantly share code, notes, and snippets.

View camdez's full-sized avatar

Cameron Desautels camdez

View GitHub Profile
@camdez
camdez / gist:4598527
Last active December 11, 2015 12:08
OrgSync API: Checkbooks: Show Checkbook
{
"is_read_only": false,
"name": "Spring Festival Budget",
"org": {
"name": "SGA",
"id": 225
},
"id": 11656,
"balance": "3500.0",
"revenue_fund": false
@camdez
camdez / gist:4598164
Last active December 11, 2015 12:08
OrgSync API: Checkbooks: List All
[
{
"is_read_only": true,
"name": "Revenue Fund",
"org": {
"name": "Ski Club",
"id": 19
},
"id": 61835,
"balance": "0.0",
@camdez
camdez / gist:4229134
Created December 6, 2012 22:38
OrgSync API: Groups: Create Group
{"id":259661,"account_ids":[],"name":"New Group"}
@camdez
camdez / gist:4229050
Created December 6, 2012 22:24
OrgSync API: Groups: List Single Group Information
{
"id": 650,
"account_ids": [
3287,
1282234,
1282274,
1385891,
1457427,
1496406,
1542726
@camdez
camdez / gist:4228943
Created December 6, 2012 22:07
OrgSync API: Groups: List Org Groups
[
{
"account_ids": [
1918
],
"id": 238468,
"name": "1st Floor Family"
},
{
"account_ids": [],
@camdez
camdez / gist:4198348
Created December 3, 2012 21:40
OrgSync API: Timesheets: List Event Timesheets
[
{
"start_date": "2009-11-12",
"alternate_org_name": null,
"account": {
"id": 1963,
"last_name": "Alexander",
"first_name": "Alice"
},
"org": {
class Object
# Invoke each zero-arity method in messages on obj, returning the
# results of those calls in a Hash.
#
# messages - one or more symbols representing methods to invoke on
# obj.
#
# Examples
#
# "foo".multi_send(:length, :reverse)
@camdez
camdez / gist:4179838
Created December 1, 2012 00:54
OrgSync API: Timesheets: List Org Timesheets
[
{
"start_date": "2007-06-20",
"alternate_org_name": null,
"account": {
"id": 1911,
"last_name": "Adams",
"first_name": "Ashley"
},
"id": 2116,
@camdez
camdez / gist:4179827
Created December 1, 2012 00:50
OrgSync API: Timesheets: List Account Timesheets
[
{
"start_date": "2008-09-04",
"alternate_org_name": null,
"org": {
"name": "SGA",
"id": 225
},
"id": 4995,
"event": {
@camdez
camdez / gist:4179693
Created December 1, 2012 00:13
OrgSync API: Timesheets: List All Timesheets
[
{
"start_date": "2008-11-04",
"alternate_org_name": "The Giving Tree",
"account": {
"id": 15594,
"last_name": "Williams",
"first_name": "Taylor"
},
"org": null,