Sha256: 694b577e96a0b52e26cb7d1947c3204e9b1ba0694df69d5893d02ed61ece8995
Contents?: true
Size: 366 Bytes
Versions: 28
Compression:
Stored size: 366 Bytes
Contents
require 'trailer_vote/fixtures/version' require 'oj' module TrailerVote module Fixtures FIXTURE_DIRECTORY = File.expand_path(File.join(__dir__, 'fixtures')).freeze module_function def load(media_type, options = Oj.default_options) path = File.join(FIXTURE_DIRECTORY, *media_type.split('/')) Oj.load_file(path, options) end end end
Version data entries
28 entries across 28 versions & 1 rubygems