Permalink
Browse files

update README

  • Loading branch information...
flyerhzm committed Jan 21, 2013
1 parent ee0119d commit 3a222b1d73a5f2bdedde7157e426e7099af4913c
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -73,15 +73,15 @@ After that, you can enjoy the notifiers, that's cool!
# the notify message will be notified to rails logger, customized logger, growl or xmpp.
UniformNotifier.active_notifiers.each do |notifier|
- notifier.out_of_channel_notify(args.join("\n"))
+ notifier.out_of_channel_notify("customize message")
end
# the notify message will be wrapped by <script type="text/javascript">...</script>,
# you should append the javascript_str at the bottom of http response body.
# for more information, please check https://github.com/flyerhzm/bullet/blob/master/lib/bullet/rack.rb
responses = []
UniformNotifier.active_notifiers.each do |notifier|
- responses << notifier.inline_notify(notify_message)
+ responses << notifier.inline_notify("customize message")
end
javascript_str = responses.join("\n")

0 comments on commit 3a222b1

Please sign in to comment.