This is a topic in Basecamp API
Weird code in the ruby wrapper
|
|
I was looking at the ruby wrapper for the api, and I came across this line of code: if response.code.to_i / 100 2 Why would you do this? Is there an advantage to comparing response.code ‘200’ (which they do a few lines down for 302s)? |
