Rails and Box API integration