Method: TrinsicApi::ProviderInformation#==

Defined in:
lib/trinsic_api/models/provider_information.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



300
301
302
303
304
305
306
307
308
309
310
311
312
# File 'lib/trinsic_api/models/provider_information.rb', line 300

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      logo_url == o.logo_url &&
      subtext == o.subtext &&
      provider_id == o.provider_id &&
      provider_display_name == o.provider_display_name &&
       == o. &&
      health == o.health &&
      sub_providers == o.sub_providers
end