Created
February 20, 2017 10:03
-
-
Save cavalle/f3a9014243ba4dfe99bf465f6e821f39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
channels = [ | |
["TV3+ Denmark", "3PD"], | |
["Viasat Film Action", "TV1A"], | |
["TV10", "TV10"], | |
["Viasat Film Classic", "TV1C"], | |
["Viasat Film Family", "TV1F"], | |
["Viasat Film Comedy", "TV1N"], | |
["Viasat Film Premiere", "TV1S"], | |
["TV3 Norway", "TV3N"], | |
["TV3 Sweden", "TV3S"], | |
["TV6 Norway", "TV6N"], | |
["TV6 Sweden", "TV6S"], | |
["TV8 Sweden", "TV8S"], | |
["TV3 Puls Denmark", "TVDP"], | |
["Viasat 4 Norway", "V4N"] | |
] | |
channels.each do |name, external_id| | |
@company.channels.create! name: name, external_id: external_id | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment