Class: OpenAPI::Loader::Reader

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/open_api/loader/reader.rb

Overview

Loads data from [#source] file and strinfies all its keys

Instance Method Summary collapse

Instance Method Details

#callObject



12
13
14
# File 'lib/open_api/loader/reader.rb', line 12

def call
  stringify_keys(try_json || try_yaml)
end