Updated the Ruby library to the latest API spec.