class DTK::Client::Violation::RequiredUnsetAttribute

Public Class Methods

new(service_id, violation_hash) click to toggle source
Calls superclass method
# File lib/violation/sub_classes.rb, line 32
def initialize(service_id, violation_hash)
  super
  @attribute = Attribute.new(violation_hash['attribute'])
end

Public Instance Methods

get_input_and_apply_fix() click to toggle source
# File lib/violation/sub_classes.rb, line 37
def get_input_and_apply_fix
  Fix::SetAttribute.get_input_and_apply_fix(@service_id, @attribute)
end