Sha256: ee65f92c317089e8d9d18bca78684ba851822cd40f4f92b47a82b7ba221a07d6
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
Contents
module DockerContainerWizardStates class Environment < ApplicationRecord self.table_name_prefix = 'docker_container_wizard_states_' belongs_to :wizard_state, :class_name => 'DockerContainerWizardState' has_many :environment_variables, :dependent => :destroy, :foreign_key => :reference_id, :inverse_of => :environment, :class_name => 'DockerContainerWizardStates::EnvironmentVariable' has_many :exposed_ports, :dependent => :destroy, :foreign_key => :reference_id, :inverse_of => :environment, :class_name => 'DockerContainerWizardStates::ExposedPort' has_many :dns, :dependent => :destroy, :foreign_key => :reference_id, :inverse_of => :environment, :class_name => 'DockerContainerWizardStates::Dns' include ForemanDocker::ParameterValidators accepts_nested_attributes_for :environment_variables, :allow_destroy => true accepts_nested_attributes_for :exposed_ports, :allow_destroy => true accepts_nested_attributes_for :dns, :allow_destroy => true end end
Version data entries
3 entries across 3 versions & 1 rubygems