Method: Freeclimb::IncomingNumberResult#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# File 'lib/freeclimb/models/incoming_number_result.rb', line 191

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      uri == o.uri &&
      date_created == o.date_created &&
      date_updated == o.date_updated &&
      revision == o.revision &&
      phone_number_id == o.phone_number_id &&
       == o. &&
      application_id == o.application_id &&
      phone_number == o.phone_number &&
      _alias == o._alias &&
      region == o.region &&
      country == o.country &&
      voice_enabled == o.voice_enabled &&
      sms_enabled == o.sms_enabled
end