Method: Algolia::Ingestion::SourceCreate#==

Defined in:
lib/algolia/models/ingestion/source_create.rb

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



97
98
99
100
101
102
103
104
# File 'lib/algolia/models/ingestion/source_create.rb', line 97

def ==(other)
  return true if self.equal?(other)
  self.class == other.class &&
    type == other.type &&
    name == other.name &&
    input == other.input &&
    authentication_id == other.authentication_id
end