summaryrefslogtreecommitdiff
path: root/app/models/integrations/jira_tracker_data.rb
blob: 74352393b431bec4bcb57280480b5a775ea0ed5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Integrations
  class JiraTrackerData < ApplicationRecord
    include BaseDataFields

    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
end