Method: PureCloud::Question#==
- Defined in:
- lib/purecloud/models/question.rb
#==(o) ⇒ Object
Check equality by comparing each attribute.
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'lib/purecloud/models/question.rb', line 155 def ==(o) return true if self.equal?(o) self.class == o.class && id == o.id && text == o.text && help_text == o.help_text && type == o.type && weight == o.weight && na_required == o.na_required && comments_required == o.comments_required && is_kill == o.is_kill && is_critical == o.is_critical && na_enabled == o.na_enabled && visibility_condition == o.visibility_condition && == o. end |