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



149
150
151
152
153
154
155
# File 'lib/ory-client/models/expanded_permission_tree.rb', line 149

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