Method: BudgeaClient::Device#==

Defined in:
lib/budgea_client/models/device.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



146
147
148
149
150
151
152
153
154
155
156
# File 'lib/budgea_client/models/device.rb', line 146

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      id_token == o.id_token &&
      type == o.type &&
      notification_token == o.notification_token &&
      last_update == o.last_update &&
      version == o.version &&
      debug == o.debug
end