Method: TreezorClient::Body5#==

Defined in:
lib/treezor_client/models/body_5.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      name == o.name &&
      status == o.status &&
      is_whitelist == o.is_whitelist &&
      countries == o.countries &&
      start_date == o.start_date &&
      fields == o.fields
end