taylorbrooks / closeio

A Ruby wrapper for the Close.io API
http://developer.close.com
MIT License
45 stars 57 forks source link

TypeError: exception class/object expected #12

Closed dpaola2 closed 9 years ago

dpaola2 commented 9 years ago

Line https://github.com/taylorbrooks/closeio/blob/3eb80ed007db19e3eaeb73a2f4c5d159f1a03c2b/lib/closeio/base.rb#L37 is raising a TypeError when attempting to raise an exception (response is not an exception).

mdemare commented 9 years ago

I've encountered the same problem.

taylorbrooks commented 9 years ago

Just pushed 1.0.1 to RubyGems.

Please let me know if this fixes this issue.

Thanks to @dpaola2 for creating a PR.