Last active
August 29, 2015 14:06
-
-
Save jeffleeismyhero/1783131f330ac29f49e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<data type="array"> | |
<datum> | |
<TCCategory> | |
<id type="integer">1</id> | |
<name>Dining</name> | |
<category-id type="integer">2</category-id> | |
<active type="boolean">true</active> | |
<position type="integer">1</position> | |
<created-at type="datetime">2010-03-26T16:06:12-05:00</created-at> | |
<updated-at type="datetime">2010-07-20T14:51:37-05:00</updated-at> | |
</TCCategory> | |
</datum> | |
</data> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
collection @categories, root: "data", object_root: "TCCategory" | |
extends "api/legacy/categories/show" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object @category | |
attributes :id, :name, :category_id, :active, :position, :created_at, | |
:updated_at |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment