Method: Bandwidth::VoiceCodeResponse#==

Defined in:
lib/bandwidth-sdk/models/voice_code_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



89
90
91
92
93
# File 'lib/bandwidth-sdk/models/voice_code_response.rb', line 89

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