From e7382de1084f75bc8cfb2a5135412fdbd81f3b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Binsztock=20R=C3=A9my?= Date: Wed, 19 Feb 2014 00:09:16 +0100 Subject: Add Gemnasium Service for Gitlab Conflicts: db/schema.rb --- app/models/service.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/models/service.rb') 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 -- cgit v1.2.1