Project

General

Profile

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

foreman-docker / app / models / environment_variable.rb @ 26c5ba32

1
class EnvironmentVariable < Parameter
2
  belongs_to :container, :foreign_key => :reference_id, :inverse_of => :environment_variables
3
  audited :except => [:priority], :associated_with => :container, :allow_mass_assignment => true
4
  validates :name, :uniqueness => { :scope => :reference_id }
5
  attr_accessible :priority
6
end