Method: YNAB::AccountResponseData#==

Defined in:
lib/ynab/models/account_response_data.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



78
79
80
81
82
# File 'lib/ynab/models/account_response_data.rb', line 78

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