Method: Brevo::GetAccount#==

Defined in:
lib/brevo/models/get_account.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



159
160
161
162
163
164
165
166
167
168
169
170
# File 'lib/brevo/models/get_account.rb', line 159

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      email == o.email &&
      first_name == o.first_name &&
      last_name == o.last_name &&
      company_name == o.company_name &&
      address == o.address &&
      plan == o.plan &&
      relay == o.relay &&
      marketing_automation == o.marketing_automation
end