Method: Kickflow::FolderDetail#==

Defined in:
lib/kickflow/models/folder_detail.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • to be compared



337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
# File 'lib/kickflow/models/folder_detail.rb', line 337

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      code == o.code &&
      description == o.description &&
      workflows_count == o.workflows_count &&
      routes_count == o.routes_count &&
      pipelines_count == o.pipelines_count &&
      created_at == o.created_at &&
      updated_at == o.updated_at &&
      ancestors == o.ancestors &&
      children == o.children
end