Sha256: 2d3c6c0689918606ef07974ab5c9a946a72bfe0d9dcdc085e8291280234d850c

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

class TemplateInvocationInputValue < ActiveRecord::Base

  belongs_to :template_invocation
  belongs_to :template_input

  validates :value, :presence => true, :if => proc { |v| v.template_input.required? }

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_remote_execution-0.0.4 app/models/template_invocation_input_value.rb
foreman_remote_execution-0.0.3 app/models/template_invocation_input_value.rb
foreman_remote_execution-0.0.2 app/models/template_invocation_input_value.rb
foreman_remote_execution-0.0.1 app/models/template_invocation_input_value.rb