Class: OpenAPIParser::SchemaLoader::ListLoader

Inherits:
Creator
  • Object
show all
Defined in:
lib/openapi_parser/concerns/schema_loader/list_loader.rb

Overview

list object loader

Instance Method Summary collapse

Methods inherited from Creator

#initialize

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from OpenAPIParser::SchemaLoader::Creator

Instance Method Details

#load_data(target_object, raw_schema) ⇒ Array<OpenAPIParser::Schemas::Base>?

Parameters:

Returns:



6
7
8
# File 'lib/openapi_parser/concerns/schema_loader/list_loader.rb', line 6

def load_data(target_object, raw_schema)
  create_attr_list_object(target_object, raw_schema[ref_name_base.to_s])
end