class Umwelt::Episode::File::Store

Public Instance Methods

call(id, struct) click to toggle source
# File lib/umwelt/episode/file/store.rb, line 5
def call(id, struct)
  count = write(full_path(id), struct)

  @written_paths[full_path(id)] = count
end
full_path(id) click to toggle source
# File lib/umwelt/episode/file/store.rb, line 11
def full_path(id)
  umwelt_root_path / "episodes/#{id}.json"
end