Read about our upcoming Code of Conduct on this issue

This instance was upgraded to Heptapod 0.28.0 today

project_error_tracking_setting.rb 396 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module ErrorTracking
  class ProjectErrorTrackingSetting < ActiveRecord::Base
    belongs_to :project

    validates :api_url, length: { maximum: 255 }, public_url: true, url: { enforce_sanitization: true }

    attr_encrypted :token,
      mode: :per_attribute_iv,
      key: Settings.attr_encrypted_db_key_base_truncated,
      algorithm: 'aes-256-gcm'
  end
end