add status attribute to Node api response
authorTom Clegg <tom@clinicalfuture.com>
Sun, 13 Jan 2013 20:19:06 +0000 (12:19 -0800)
committerTom Clegg <tom@clinicalfuture.com>
Sun, 13 Jan 2013 20:19:06 +0000 (12:19 -0800)
app/models/node.rb

index 67a14384c6d770031846cce0841e3d5619d3535d..8421ab2347901bba95d51365d2f65ffb037b7666 100644 (file)
@@ -31,6 +31,7 @@ class Node < ActiveRecord::Base
     t.add :last_ping_at
     t.add :info
     t.add :updated_at
+    t.add :status
   end
 
   def info