projects
/
gestion-adh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Continue implementing list-emails
[gestion-adh.git]
/
bin
/
list-emails
diff --git
a/bin/list-emails
b/bin/list-emails
index 5d3fb7457dacc50c5d96ad4359989e09be037a52..569571efdde8ff8cdb371031e46c6059a1914cb3 100755
(executable)
--- a/
bin/list-emails
+++ b/
bin/list-emails
@@
-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