Skip to content

Instantly share code, notes, and snippets.

@pezra
Forked from paul/database.json.jrb
Created July 3, 2010 03:57
Show Gist options
  • Save pezra/462294 to your computer and use it in GitHub Desktop.
Save pezra/462294 to your computer and use it in GitHub Desktop.
{
href: "http://example.com/databases/1",
_type: "Database",
name: "test_db",
server_hostname: "betabox.mongomachine.com",
server_port: 27017,
account_href: "http://example.com/accounts/1",
authorized_users_href: "http://example.com/authorized_users",
storage_stats_href: "http://example.com/database/1/storage_stats",
request_stats_href: "http://example.com/database/1/request_stats",
created_at: @database.created_at.iso8601,
updated_at: @database.updated_at.iso8601
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment