Skip to content

cornet/notifo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A library for using Notifo. Notifo is a way for users to receive mobile notifications for anything, more at notifo.com. This gem uses John Nunemaker’s awesome HTTParty.

$ gem install notifo
require 'rubygems'
require 'notifo'

notifo = Notifo.new(
  :username => "YOUR_NOTIFO_SERVICE_USERNAME",
  :password => "YOUR_NOTIFO_SERVICE_APISECRET"
)

notifo.subscribe_user(:username => "A_NOTIFO_USERNAME")

notifo.send_notification(
  :username => "A_SUBSCRIBED_NOTIFO_USERNAME",
  :msg =>"A MESSAGE"
)

notifo.verify_webhook_signature(:notifo_signature => post_params_hash)
  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Copyright © 2010 Jonathan Markwell. See LICENSE for details.

About

A library for using Notifo

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Ruby 100.0%