bigcommerce/bigcommerce-api-ruby — pull request #2 by wnadeau (2011-10-08 22:17:47+00:00)
Title: enforcing SSL - response to #1

https://github.com/bigcommerce/bigcommerce-api-ruby/issues/1

I was having the same error response as this guy (although I have api access).

Then I examined the request properties and saw that SSL wasn't being enforced

So I had a choice to go with something that pins the SSL responsibility on the user giving an "https://" :store_url
```http.use_ssl = (uri.scheme == "https")
```
however, when forcing SSL, we minimize likelihood of user error at the expense of some flexibility.
(but I doubt you'll ever not use SSL for api requests anyway)