/**
  * @return set the api mode
  */
 public static function setApiMode($mode = 'production')
 {
     GoCoin::$API_MODE = $mode;
     return GoCoin::getApiMode();
 }