Method: Freeclimb::CallStatusWebhook#==

Defined in:
lib/freeclimb/models/call_status_webhook.rb

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



204
205
206
207
208
209
210
211
212
213
214
215
216
217
# File 'lib/freeclimb/models/call_status_webhook.rb', line 204

def ==(other)
  return true if equal?(other)
  self.class == other.class &&
    request_type == other.request_type &&
    call_id == other.call_id &&
     == other. &&
    from == other.from &&
    to == other.to &&
    call_status == other.call_status &&
    call_ended_reason == other.call_ended_reason &&
    direction == other.direction &&
    conference_id == other.conference_id &&
    queue_id == other.queue_id && super
end