summaryrefslogtreecommitdiff
path: root/app/models/service.rb
diff options
context:
space:
mode:
authorBinsztock Rémy <remy.binsztock@tech-angels.com>2014-02-19 00:09:16 +0100
committerOlivier Gonzalez <olivier.gonzalez@tech-angels.com>2014-02-21 16:25:22 +0100
commite7382de1084f75bc8cfb2a5135412fdbd81f3b25 (patch)
tree6ab0a8105cd711eb31118262a3238a47088a2849 /app/models/service.rb
parent490f99d45e0f610e88505ff0fb2dc83a557e22c5 (diff)
downloadgitlab-ce-e7382de1084f75bc8cfb2a5135412fdbd81f3b25.tar.gz
Add Gemnasium Service for Gitlab
Conflicts: db/schema.rb
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