lib/betagouvbot/sorting_hat.rb
def notify(subscribed, listname, author)
        BetaGouvBot::MailAction.new(
          'data/mail_subscribed.md',
          ['{{author.id}}@beta.gouv.fr'],
          'author'      => author,
          'operation'   => operation(subscribed),
          'description' => description(subscribed),
          'listname'    => listname
        )
      end
# Input: a date
# Input: a list of members' arrivals and departures
# Side-effect: keeps current members subscribed to one list and alumni to another
a date
Input: a list of members' arrivals and departures
Side-effect: keeps current members subscribed to one list and alumni to another
a date Input : a list of members ' arrivals and departures Side - effect : keeps current members subscribed to one list and alumni to another
def notify(subscribed, listname, author)
        BetaGouvBot::MailAction.new(
          'data/mail_subscribed.md',
          ['{{author.id}}@beta.gouv.fr'],
          'author'      => author,
          'operation'   => operation(subscribed),
          'description' => description(subscribed),
          'listname'    => listname
        )
      end
def notify ( subscribed , listname , author ) BetaGouvBot :: MailAction . new ( 'data/mail_subscribed.md' , [ '{{author.id}}@beta.gouv.fr' ] , 'author' => author , 'operation' => operation ( subscribed ) , 'description' => description ( subscribed ) , 'listname' => listname ) end
Input: a date
Input: a list of members' arrivals and departures
Side-effect: keeps current members subscribed to one list and alumni to another
Input : a date Input : a list of members ' arrivals and departures Side - effect : keeps current members subscribed to one list and alumni to another
subscribed
listname
author