class PIM::Services::DataModelLoaders::YAMLFileLoader

Public Class Methods

new() click to toggle source
# File services.rb, line 1857
def initialize
  super file_extensions: ['.yaml', '.yml']
end

Protected Instance Methods

open_repository(filename) click to toggle source
# File services.rb, line 1863
def open_repository filename
  read_repository(YAML.load_file(filename))
end