15 lines
558 B
Ruby
Executable File
15 lines
558 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
$LOAD_PATH << File.join(Dir.pwd, "lib")
|
|
|
|
require "app"
|
|
require "protocols"
|
|
require "models"
|
|
|
|
mailinglist0 = Mailinglist.build(name: "AutoReg", suffix: "autoreg", strategy: "autoregister").save
|
|
mailinglist1 = Mailinglist.build(name: "FreeML", suffix: "free", strategy: "free").save
|
|
mailinglist2 = Mailinglist.build(name: "ValidatedML", suffix: "validated", strategy: "validated").save
|
|
mailinglist3 = Mailinglist.build(name: "ClosedML", suffix: "closed", strategy: "closed").save
|
|
|
|
pp mailinglist0, mailinglist1, mailinglist2, mailinglist3
|