class PIM::Services::DataModelLoaders::JSONFileLoader

Public Class Methods

new() click to toggle source
# File services.rb, line 1843
def initialize
  super file_extensions: '.json'
end

Protected Instance Methods

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