diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-12-05 15:40:53 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-12-09 17:20:12 +0100 |
commit | 593c912151eaef865d31fc2a8307ef6d337c2349 (patch) | |
tree | 1239614ffe9ab26ef7e24070e264c2394aceaa07 /app/models/project_services/buildkite_service.rb | |
parent | 0f90fd639c9ed387426e0a8ec3a23ac33b37024c (diff) | |
download | gitlab-ce-593c912151eaef865d31fc2a8307ef6d337c2349.tar.gz |
Grapify the service API
Diffstat (limited to 'app/models/project_services/buildkite_service.rb')
-rw-r--r-- | app/models/project_services/buildkite_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/project_services/buildkite_service.rb b/app/models/project_services/buildkite_service.rb index 86a06321e21..fe6d7aabb22 100644 --- a/app/models/project_services/buildkite_service.rb +++ b/app/models/project_services/buildkite_service.rb @@ -3,7 +3,8 @@ require "addressable/uri" class BuildkiteService < CiService ENDPOINT = "https://buildkite.com" - prop_accessor :project_url, :token, :enable_ssl_verification + prop_accessor :project_url, :token + boolean_accessor :enable_ssl_verification validates :project_url, presence: true, url: true, if: :activated? validates :token, presence: true, if: :activated? |