Method: TalonOne::ManagementKey#==
- Defined in:
- lib/talon_one/models/management_key.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
178 179 180 181 182 183 184 185 186 187 188 189 |
# File 'lib/talon_one/models/management_key.rb', line 178 def ==(o) return true if self.equal?(o) self.class == o.class && name == o.name && expiry_date == o.expiry_date && endpoints == o.endpoints && allowed_application_ids == o.allowed_application_ids && id == o.id && created_by == o.created_by && account_id == o.account_id && created == o.created end |