Presentation of the Broadcast gem that I failed to present because there was not enough time at the lighting talks. Enjoy! If you have questions, hit me up on Twitter - @marcinbunsch
6. Broadcast.setup do |config|
config.jabber { |jabber|
jabber.username = 'myaccount@gmail.com'
jabber.password = 'mypass'
jabber.recipients = 'mike@foo.com'
}
end
Sunday, May 29, 2011
7. class Signup < Broadcast::Message
medium :jabber
def body
str = "A new signup has occurred! "
str += "We now have #{User.count} users!"
end
end
Sunday, May 29, 2011
10. class Signup < Broadcast::Message
medium :jabber
medium :yammer
medium :email
medium :campfire
def body
str = "A new signup has occurred! "
str += "We now have #{User.count} users!"
end
end
Sunday, May 29, 2011
11. Currently Supported:
Jabber
Email
Twitter
Yammer
Log
Campfire
IRC
Sunday, May 29, 2011
12. Fork it!
github.com/futuresimple/broadcast
Sunday, May 29, 2011