Method: PulpRpmClient::NestedRole#==

Defined in:
lib/pulp_rpm_client/models/nested_role.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared


129
130
131
132
133
134
135
# File 'lib/pulp_rpm_client/models/nested_role.rb', line 129

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