erniebrodeur / pushover

A gem to interface with pushover.net
http://erniebrodeur.github.io/pushover/
MIT License
64 stars 24 forks source link

fixing optional notification parameters #14

Closed chrblabla closed 11 years ago

chrblabla commented 11 years ago

This pull request fixes the behavior where the following code did not work. Test included.

Pushover.configure do |config|
  config.user='USER_TOKEN'
  config.token='APP_TOKEN'
end

Pushover.notification(message: 'message', title: 'title')
erniebrodeur commented 11 years ago

Released to ruby gems as 1.0.1.