debian-mirror-gitlab/app/models/project_services/jira_tracker_data.rb
2020-10-24 23:57:45 +05:30

12 lines
374 B
Ruby

# frozen_string_literal: true
class JiraTrackerData < ApplicationRecord
include Services::DataFields
attr_encrypted :url, encryption_options
attr_encrypted :api_url, encryption_options
attr_encrypted :username, encryption_options
attr_encrypted :password, encryption_options
enum deployment_type: { unknown: 0, server: 1, cloud: 2 }, _prefix: :deployment
end