class PIM::ValidationDisabledContext

Attributes

attribute_name[R]
cache[R]
data_model[R]
result[R]
rule[R]
rule_name[R]
values[R]

Public Class Methods

new(data_model, result, rule, attribute_name, context) click to toggle source
# File pim.rb, line 8998
def initialize data_model, result, rule, attribute_name, context
  @data_model = data_model
  @result = result
  @rule = rule
  @rule_name = rule.name unless rule.nil?
  @attribute_name = attribute_name
  @values = context[:values]
  @cache = context[:cache]
end