Skip to content

Instantly share code, notes, and snippets.

@sethetter
Created February 26, 2016 16:00
Show Gist options
  • Save sethetter/d7fd3ba375bda6f288c2 to your computer and use it in GitHub Desktop.
Save sethetter/d7fd3ba375bda6f288c2 to your computer and use it in GitHub Desktop.
+ Model
+ Attributes
+ id: 1 (number)
+ title: (string) `Constitution of the United States`
+ slug: `constitution` (string) - URL slug
+ thumbnail: `/img/doc-70/default.jpeg` (string)
+ created_at: (date) `2014-06-10T13:02:26+00:00`
+ updated_at: (date) `2015-09-17T14:38:47+00:00`
+ deleted_at: (date) `2015-09-17T14:38:47+00:00`
+ private: (boolean) false
+ is_template: (boolean) false
+ featured: (boolean) true
+ url: (string) `https://mymadison.io/docs/constitution`
+ comment_count: (number) 0
+ annotation_count: (number) 20
+ annotation_comment_count: (number) 3
+ user_count: (number) 12
+ support: (number) 11
+ oppose: (number) 1
+ categories: (array)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment