heroku / heroku.rb

DEPRECATED! Official Heroku Ruby Legacy API wrapper
161 stars 41 forks source link

Error posting ssl endpoint #87

Open eigilsagafos opened 10 years ago

eigilsagafos commented 10 years ago

I'm using the post_ssl_endpoint, and I'm getting the following error: `Heroku::API::Errors::ErrorWithResponse: Expected(200) <=> Actual(201 Created)`` As you can see with the response code it's uploading correctly, but the gem is expecting a 200 response code.

geemus commented 10 years ago

Yeah, looks like we just made a mistake here: https://github.com/heroku/heroku.rb/blob/master/lib/heroku/api/ssl_endpoints.rb#L34. Would you be up for helping us out with a patch? Thanks!