Update base.rb

Changed the API version to version 2