Class: R2OAS::Schema::V3::ComponentsDiffManager

Inherits:
BaseHashDiffManager show all
Defined in:
lib/r2-oas/schema/v3/manager/diff/components_diff_manager.rb

Constant Summary

Constants inherited from Base

Base::SUPPORT_COMPONENTS_OBJECTS

Instance Method Summary collapse

Methods inherited from BaseHashDiffManager

#process_by_using_diff_data

Methods included from R2OAS::Sortable

#deep_sort

Methods inherited from BaseDiffManager

#process_by_using_diff_data

Methods inherited from Base

#support_components_objects

Constructor Details

#initialize(before_schema_data, after_schema_data, options = {}) ⇒ ComponentsDiffManager

Returns a new instance of ComponentsDiffManager.



9
10
11
12
13
14
15
# File 'lib/r2-oas/schema/v3/manager/diff/components_diff_manager.rb', line 9

def initialize(before_schema_data, after_schema_data, options = {})
  super(before_schema_data, after_schema_data)
  @major_category = 'components'
  @middle_category = options[:middle_category]
  @before_schema_data = normalized(before_schema_data)
  @after_schema_data  = normalized(after_schema_data)
end