Sha256: d714aeec1b09cb6b8b4d4673d52c62959657685ad0974e464b2c411b59416967

Contents?: true

Size: 340 Bytes

Versions: 7

Compression:

Stored size: 340 Bytes

Contents

module DockerContainerWizardStates
  class EnvironmentVariable < DockerParameter
    belongs_to :environment, :foreign_key => :reference_id, :inverse_of => :environment_variables,
                             :class_name => 'DockerContainerWizardStates::Environment'
    validates :key, :uniqueness => { :scope => :reference_id }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_docker-5.0.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-4.1.1 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-4.1.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-4.0.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-3.2.1 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-3.2.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-3.1.0 app/models/docker_container_wizard_states/environment_variable.rb