summaryrefslogtreecommitdiff
path: root/app/models/web_hook.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-19 21:24:05 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-19 21:24:05 +0300
commit95c23b2f974ec15e89cd7e762c80af0fa0ce57a5 (patch)
treef37af5b6d4c92f9733298b6894dd6f24057e9cae /app/models/web_hook.rb
parentc3b074acab554fc40a8fcb6060ed7ab10e4171a4 (diff)
downloadgitlab-ce-95c23b2f974ec15e89cd7e762c80af0fa0ce57a5.tar.gz
Annotated. schema updated
Diffstat (limited to 'app/models/web_hook.rb')
-rw-r--r--app/models/web_hook.rb25
1 files changed, 12 insertions, 13 deletions
diff --git a/app/models/web_hook.rb b/app/models/web_hook.rb
index db773c55a69..ac3e10cf96f 100644
--- a/app/models/web_hook.rb
+++ b/app/models/web_hook.rb
@@ -1,3 +1,15 @@
+# == Schema Information
+#
+# Table name: web_hooks
+#
+# id :integer not null, primary key
+# url :string(255)
+# project_id :integer
+# created_at :datetime not null
+# updated_at :datetime not null
+# type :string(255) default("ProjectHook")
+#
+
class WebHook < ActiveRecord::Base
include HTTParty
@@ -22,16 +34,3 @@ class WebHook < ActiveRecord::Base
end
end
end
-
-# == Schema Information
-#
-# Table name: web_hooks
-#
-# id :integer not null, primary key
-# url :string(255)
-# project_id :integer
-# created_at :datetime not null
-# updated_at :datetime not null
-# type :string(255) default("ProjectHook")
-#
-