Project

General

Profile

Download (340 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman-docker / app / models / docker_container_wizard_states / environment_variable.rb @ 2b80fdd9

1
module DockerContainerWizardStates
2
  class EnvironmentVariable < DockerParameter
3
    belongs_to :environment, :foreign_key => :reference_id, :inverse_of => :environment_variables,
4
                             :class_name => 'DockerContainerWizardStates::Environment'
5
    validates :key, :uniqueness => { :scope => :reference_id }
6
  end
7
end