Project

General

Profile

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

foreman_docker / app / models / docker_container_wizard_states / configuration.rb @ bc82d5d5

1
module DockerContainerWizardStates
2
  class Configuration < ActiveRecord::Base
3
    self.table_name_prefix = 'docker_container_wizard_states_'
4
    belongs_to :wizard_state, :class_name => DockerContainerWizardState,
5
                              :foreign_key => :docker_container_wizard_state_id
6

    
7
    validates :name, :presence => true
8
    validates :command, :presence => true
9
  end
10
end