• Line 26 should read:

    -  return puts response.body if response.code = 200
    +  return puts response.body if response.code == 200
  • @splattael Yes, thanks. That's what I get for refactoring inside the snippet. :)

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment