notifications = [] # perhaps some database select returned empty
Houston::Client.push(notifications)
raises
TypeError: no implicit conversion of nil into String
from /Users/sam/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/houston-2.2.3/lib/houston/connection.rb:39:in `initialize'
Steps to reproduce:
raises
I would have expected it to return
nil
instead.