]> nos-oignons.net Git - gestion-adh.git/blobdiff - bin/list-emails
Continue implementing list-emails
[gestion-adh.git] / bin / list-emails
index 5d3fb7457dacc50c5d96ad4359989e09be037a52..569571efdde8ff8cdb371031e46c6059a1914cb3 100755 (executable)
@@ -4,3 +4,10 @@
 require 'rubygems'
 require 'bundler'
 Bundler.setup
+
+require 'nos_oignons/subscriptions'
+
+subscriptions = read_subscriptions
+subscriptions.each_pair do |subscription_id, data|
+  puts data['email']
+end