Sha256: 82a464deb3ee4719e10770d7cd8b36e4d13e26718f26fc57b780efaab9d50990

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

require 'json_reducer/version'

require 'json_reducer/mask'
require 'json_reducer/schemas'

module JsonReducer
  def self.new(*args)
    Mask.new(*args)
  end

  def self.register(key, schema, file: true)
    JsonReducer::Schemas.instance.set(key, schema, file)
  end

  def self.base_path(path)
    JsonReducer::Schemas.instance.base_path = path
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json_reducer-1.1.0 lib/json_reducer.rb