Sha256: 962957652d665259674b337c827096c132eada7cf658d5f90800d8c18bd98bbf
Contents?: true
Size: 292 Bytes
Versions: 30
Compression:
Stored size: 292 Bytes
Contents
# frozen_string_literal: true module Renalware log "Adding PD Systems" do file_path = File.join(File.dirname(__FILE__), "systems.csv") CSV.foreach(file_path, headers: true) do |row| PD::System.find_or_create_by!(name: row["name"], pd_type: row["pd_type"]) end end end
Version data entries
30 entries across 30 versions & 1 rubygems