Method: PureCloud::Section#==

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

#==(o) ⇒ Object

Check equality by comparing each attribute.



83
84
85
86
87
88
89
90
# File 'lib/purecloud/models/section.rb', line 83

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      field_list == o.field_list &&
      instruction_text == o.instruction_text &&
      key == o.key &&
      state == o.state
end