Sha256: b4f4fb6dd13b73e919df256c68ef4f5c1ac325cbb1d13264e25adb5047b29dee

Contents?: true

Size: 456 Bytes

Versions: 3

Compression:

Stored size: 456 Bytes

Contents

module Katello
  class FlatpakRemote < Katello::Model
    has_many :remote_repositories, dependent: :destroy, class_name: 'Katello::FlatpakRemoteRepository'
    has_many :remote_repository_manifests, through: :remote_repositories, source: :remote_repository_manifests
    belongs_to :organization, inverse_of: :flatpak_remotes

    validates :name, presence: true
    validates :url, presence: true
    validates :organization_id, presence: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-4.15.0 app/models/katello/flatpak_remote.rb
katello-4.15.0.rc2 app/models/katello/flatpak_remote.rb
katello-4.15.0.rc1 app/models/katello/flatpak_remote.rb