add boilerplate for Project resource
authorTom Clegg <tom@clinicalfuture.com>
Wed, 16 Jan 2013 22:43:01 +0000 (14:43 -0800)
committerTom Clegg <tom@clinicalfuture.com>
Wed, 16 Jan 2013 22:43:01 +0000 (14:43 -0800)
app/models/project.rb

index 5bc7957d543fe97a3cb2402126f17a5310b7727e..d3b165b14102c0c8774d06a5d1515c598c835a4a 100644 (file)
@@ -1,2 +1,10 @@
 class Project < ActiveRecord::Base
+  include AssignUuid
+  include KindAndEtag
+  include CommonApiTemplate
+
+  api_accessible :superuser, :extend => :common do |t|
+    t.add :name
+    t.add :description
+  end
 end