Method: YNAB::PayeeLocationResponseData#==

Defined in:
lib/ynab/models/payee_location_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/payee_location_response_data.rb', line 78

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