Method: NucleusApi::DecisionTreeResultVO#==

Defined in:
lib/nucleus_api/models/decision_tree_result_vo.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



71
72
73
74
75
76
# File 'lib/nucleus_api/models/decision_tree_result_vo.rb', line 71

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      entity_id == o.entity_id &&
      entity_type == o.entity_type
end