Lines Matching refs:method
73 $method = $this->methods[$name];
104 if (!isset($method['parameters'])) {
105 $method['parameters'] = array();
108 $method['parameters'] = array_merge($method['parameters'], $this->stackParameters);
110 if ($key != 'postBody' && ! isset($method['parameters'][$key])) {
114 if (isset($method['parameters'])) {
115 foreach ($method['parameters'] as $paramName => $paramSpec) {
131 if (! isset($method['id'])) {
132 $method['id'] = $method['rpcMethod'];
136 if (! isset($method['path'])) {
137 $method['path'] = $method['restPath'];
144 if (isset($method['mediaUpload'])) {
149 $servicePath = $method['mediaUpload']['protocols']['simple']['path'];
150 $method['path'] = '';
154 $url = Google_REST::createRequestUri($servicePath, $method['path'], $parameters);
155 $httpRequest = new Google_HttpRequest($url, $method['httpMethod'], null, $postBody);