Sha256: cefbfb31aebb43206b5de871cd308b38c6fe00488115909c00a9a42fc43e6336

Contents?: true

Size: 335 Bytes

Versions: 16

Compression:

Stored size: 335 Bytes

Contents

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
foreman_docker-3.0.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-2.1.1 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-2.1.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-2.0.1 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-2.0.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.4.1 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.4.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.3.1 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.3.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.2.4 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.2.3 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.2.2 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.2.1 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.2.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.1.0 app/models/docker_container_wizard_states/environment_variable.rb
foreman_docker-1.0.1 app/models/docker_container_wizard_states/environment_variable.rb