Method: PureCloud::WorkItemCommand#==

Defined in:
lib/purecloud/models/work_item_command.rb

#==(o) ⇒ Object

Check equality by comparing each attribute.



47
48
49
50
51
52
# File 'lib/purecloud/models/work_item_command.rb', line 47

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      display_name == o.display_name
end