Method: PureCloud::RecordingEmailMessage#==

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

#==(o) ⇒ Object

Check equality by comparing each attribute.



144
145
146
147
148
149
150
151
152
153
154
155
156
157
# File 'lib/purecloud/models/recording_email_message.rb', line 144

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      html_body == o.html_body &&
      text_body == o.text_body &&
      id == o.id &&
      to == o.to &&
      cc == o.cc &&
      bcc == o.bcc &&
      from == o.from &&
      subject == o.subject &&
      attachments == o.attachments &&
      time == o.time
end