original_string: protected function run($method, $args) {
  		$request = $this->request();
  		$request->method($method);
  		$request->resource(array_shift($args));
  		if (count($args)) {
  			$request->params(array_shift($args));
  		}
  		if (count($args)) {
  			$request->files(array_shift($args));
  		}
  		return $request->send();
  	}
code: protected function run($method, $args) {
  		$request = $this->request();
  		$request->method($method);
  		$request->resource(array_shift($args));
  		if (count($args)) {
  			$request->params(array_shift($args));
  		}
  		if (count($args)) {
  			$request->files(array_shift($args));
  		}
  		return $request->send();
  	}
code_tokens: protected function run ( $ method , $ args ) { $ request = $ this -> request ( ) ; $ request -> method ( $ method ) ; $ request -> resource ( array_shift ( $ args ) ) ; if ( count ( $ args ) ) { $ request -> params ( array_shift ( $ args ) ) ; } if ( count ( $ args ) ) { $ request -> files ( array_shift ( $ args ) ) ; } return $ request -> send ( ) ; }
docstring: Convenience method for sending a request and returning a response.
  
  @return Response
  @throws OAuthException|ApiResponseException
docstring_tokens: Convenience method for sending a request and returning a response .