X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/c2e8982b068dc4f47015679ea383a424c4defef1..e52ee556380e7ecb6a7a674743ebe6c0cfd561aa:/bin/list-emails diff --git a/bin/list-emails b/bin/list-emails index 569571e..5315d86 100755 --- a/bin/list-emails +++ b/bin/list-emails @@ -5,9 +5,6 @@ require 'rubygems' require 'bundler' Bundler.setup -require 'nos_oignons/subscriptions' +require 'nos_oignons' -subscriptions = read_subscriptions -subscriptions.each_pair do |subscription_id, data| - puts data['email'] -end +NosOignons.list_emails!