Method: OryClient::ExpandedPermissionTree#==

Defined in:
lib/ory-client/models/expanded_permission_tree.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



139
140
141
142
143
144
145
# File 'lib/ory-client/models/expanded_permission_tree.rb', line 139

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      children == o.children &&
      tuple == o.tuple &&
      type == o.type
end