X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/c2e8982b068dc4f47015679ea383a424c4defef1..4a9b019245f6370d961f32d0c41cf13563865bd1:/bin/list-emails?ds=inline 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!