Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/service.rb')
-rw-r--r--app/models/service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/service.rb b/app/models/service.rb
index 540aaad1ce5..26060d00b02 100644
--- a/app/models/service.rb
+++ b/app/models/service.rb
@@ -13,12 +13,13 @@
# project_url :string(255)
# subdomain :string(255)
# room :string(255)
+# api_key :string(255)
#
# To add new service you should build a class inherited from Service
# and implement a set of methods
class Service < ActiveRecord::Base
- attr_accessible :title, :token, :type, :active
+ attr_accessible :title, :token, :type, :active, :api_key
belongs_to :project
has_one :service_hook