summaryrefslogtreecommitdiff
path: root/app/views/api/agents/create.json.jbuilder
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-02-09 19:43:03 -0700
committermo khan <mo@mokhan.ca>2015-02-09 19:43:03 -0700
commit594d37bb40f3e3e0f15553383cf2a305d4d6742e (patch)
tree6236972f334d3ad778fbd51948d9635ae1226936 /app/views/api/agents/create.json.jbuilder
parent72a1483c8f546fae6c93dcdf91cfd47c37bc2f90 (diff)
extract api.
Diffstat (limited to 'app/views/api/agents/create.json.jbuilder')
-rw-r--r--app/views/api/agents/create.json.jbuilder1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/api/agents/create.json.jbuilder b/app/views/api/agents/create.json.jbuilder
new file mode 100644
index 0000000..f156cb0
--- /dev/null
+++ b/app/views/api/agents/create.json.jbuilder
@@ -0,0 +1 @@
+json.extract! @agent, :id, :hostname, :created_at, :updated_at