erniebrodeur / pushover

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

#notification re-sets the params, instead of just using them once. #5

Closed erniebrodeur closed 11 years ago

erniebrodeur commented 11 years ago

tokens.each {|k,v| send("#{k}=", tokens[k])}

This ensures priority and timestamp work, but overrides whatever you just configured as a result.

Instead, I need to refactor out the 'magic' into something else, so params are not destroyed.