Project

General

Profile

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

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

1
class EnvironmentVariable < DockerParameter
2
  belongs_to :container, :foreign_key => :reference_id, :inverse_of => :environment_variables
3
  audited :associated_with => :container, :allow_mass_assignment => true
4
  validates :key, :uniqueness => { :scope => :reference_id }
5
end