X-Git-Url: https://www.nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/7b61f25dd1ca4b324b85ab90ca891c5d5495c6cc..1f64529f4e2b7029fb21541f84711409fd5fc7f9:/lib/nos_oignons.rb diff --git a/lib/nos_oignons.rb b/lib/nos_oignons.rb index 8368699..86be0fd 100644 --- a/lib/nos_oignons.rb +++ b/lib/nos_oignons.rb @@ -10,9 +10,27 @@ module NosOignons BOARD_EMAIL = 'ca@nos-oignons.net' ADVISORS_EMAIL = 'deontologie@nos-oignons.net' MEMBER_MAILING_LIST = 'ag' + CONTACT_INFO = <<-EOT.gsub(/^ /, '') + https://nos-oignons.net/ + contact@nos-oignons.net + Téléphone : +33 9 72 42 96 04 + Fax : +33 9 72 42 96 06 + EOT + POSTAL_ADDRESS = <<-EOT.gsub(/^ /, '') + Nos oignons + Centre UBIDOCA, 7585 + 105 route des Pommiers + 74370 Saint Martin Bellevue + France + EOT # The following class methods are all meant to be called as command-line scripts class << self + def create_membership_fee_reciept!(member_id, amount) + member = NosOignons::Member.new(member_id) + member.create_reciept!(amount) + end + def list_emails! NosOignons::Member.all.each do |member| if member.up_to_date?