Sha256: f70534d997e4b62725b0a415dc0732c0006d4ad0b365d8e8cbe947c64d5150bf
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 Bytes
Contents
# frozen_string_literal: true module Umwelt::Episode::File class Store < Umwelt::Abstract::File::Store def call(id, struct) count = write(full_path(id), struct) @written_paths[full_path(id)] = count end def full_path(id) umwelt_root_path / "episodes/#{id}.json" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
umwelt-0.2 | lib/umwelt/episode/file/store.rb |