]> nos-oignons.net Git - gestion-adh.git/blob - bin/list-emails
569571efdde8ff8cdb371031e46c6059a1914cb3
[gestion-adh.git] / bin / list-emails
1 #!/usr/bin/ruby1.9.1
2 #-*- coding: utf-8 -*-
3
4 require 'rubygems'
5 require 'bundler'
6 Bundler.setup
7
8 require 'nos_oignons/subscriptions'
9
10 subscriptions = read_subscriptions
11 subscriptions.each_pair do |subscription_id, data|
12   puts data['email']
13 end