Annotate models

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets
2016-05-06 16:13:35 +02:00
parent b1230bbda6
commit 2dcd3f29dd
5 changed files with 6 additions and 2 deletions
+1
View File
@@ -17,6 +17,7 @@
# enable_ssl_verification :boolean default(TRUE)
# build_events :boolean default(FALSE), not null
# wiki_page_events :boolean default(FALSE), not null
# token :string
#
class ProjectHook < WebHook
+1
View File
@@ -17,6 +17,7 @@
# enable_ssl_verification :boolean default(TRUE)
# build_events :boolean default(FALSE), not null
# wiki_page_events :boolean default(FALSE), not null
# token :string
#
class ServiceHook < WebHook
+1
View File
@@ -17,6 +17,7 @@
# enable_ssl_verification :boolean default(TRUE)
# build_events :boolean default(FALSE), not null
# wiki_page_events :boolean default(FALSE), not null
# token :string
#
class SystemHook < WebHook
+1
View File
@@ -17,6 +17,7 @@
# enable_ssl_verification :boolean default(TRUE)
# build_events :boolean default(FALSE), not null
# wiki_page_events :boolean default(FALSE), not null
# token :string
#
class WebHook < ActiveRecord::Base
+2 -2
View File
@@ -6,8 +6,8 @@
# project_id :integer
# data :text
# encrypted_credentials :text
# encrypted_credentials_iv :text
# encrypted_credentials_salt :text
# encrypted_credentials_iv :string
# encrypted_credentials_salt :string
#
require 'carrierwave/orm/activerecord'