Sha256: f253dba85613690a5bbd8f872695c2c4ca9edf5dc15e4a071c5003b704a6f723
Contents?: true
Size: 1.19 KB
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foreman_docker-4.0.0 | app/models/docker_container_wizard_states/environment.rb |
foreman_docker-3.2.0 | app/models/docker_container_wizard_states/environment.rb |