debian-mirror-gitlab/app/models/project_services/jira_tracker_data.rb

13 lines
374 B
Ruby
Raw Normal View History

2019-09-04 21:01:54 +05:30
# frozen_string_literal: true
class JiraTrackerData < ApplicationRecord
2020-04-22 19:07:51 +05:30
include Services::DataFields
2019-09-04 21:01:54 +05:30
attr_encrypted :url, encryption_options
attr_encrypted :api_url, encryption_options
attr_encrypted :username, encryption_options
attr_encrypted :password, encryption_options
2020-10-24 23:57:45 +05:30
enum deployment_type: { unknown: 0, server: 1, cloud: 2 }, _prefix: :deployment
2019-09-04 21:01:54 +05:30
end