|
34 | 34 | 'raw_headers', |
35 | 35 | 'limit', |
36 | 36 | 'offset', |
| 37 | + 'verify', |
37 | 38 | )) |
38 | 39 |
|
39 | 40 |
|
@@ -174,15 +175,22 @@ def __getitem__(self, name): |
174 | 175 | return Service(self, name) |
175 | 176 |
|
176 | 177 | def call(self, service, method, *args, **kwargs): |
177 | | - """Make a SoftLayer API call |
| 178 | + """Make a SoftLayer API call. |
178 | 179 |
|
179 | | - :param service: the name of the SoftLayer API service |
180 | 180 | :param method: the method to call on the service |
181 | | - :param \\*args: same optional arguments that ``Service.call`` takes |
182 | | - :param \\*\\*kwargs: same optional keyword arguments that |
183 | | - ``Service.call`` takes |
184 | | -
|
185 | | - :param service: the name of the SoftLayer API service |
| 181 | + :param \\*args: (optional) arguments for the remote call |
| 182 | + :param id: (optional) id for the resource |
| 183 | + :param mask: (optional) object mask |
| 184 | + :param dict filter: (optional) filter dict |
| 185 | + :param dict headers: (optional) optional XML-RPC headers |
| 186 | + :param boolean compress: (optional) Enable/Disable HTTP compression |
| 187 | + :param dict raw_headers: (optional) HTTP transport headers |
| 188 | + :param int limit: (optional) return at most this many results |
| 189 | + :param int offset: (optional) offset results by this many |
| 190 | + :param boolean iter: (optional) if True, returns a generator with the |
| 191 | + results |
| 192 | + :param bool verify: verify SSL cert |
| 193 | + :param cert: client certificate path |
186 | 194 |
|
187 | 195 | Usage: |
188 | 196 | >>> import SoftLayer |
@@ -222,6 +230,7 @@ def call(self, service, method, *args, **kwargs): |
222 | 230 | request.filter = kwargs.get('filter') |
223 | 231 | request.limit = kwargs.get('limit') |
224 | 232 | request.offset = kwargs.get('offset') |
| 233 | + request.verify = kwargs.get('verify') |
225 | 234 |
|
226 | 235 | if self.auth: |
227 | 236 | extra_headers = self.auth.get_headers() |
@@ -314,22 +323,15 @@ def __init__(self, client, name): |
314 | 323 | self.name = name |
315 | 324 |
|
316 | 325 | def call(self, name, *args, **kwargs): |
317 | | - """Make a SoftLayer API call. |
| 326 | + """Make a SoftLayer API call |
318 | 327 |
|
| 328 | + :param service: the name of the SoftLayer API service |
319 | 329 | :param method: the method to call on the service |
320 | | - :param \\*args: (optional) arguments for the remote call |
321 | | - :param id: (optional) id for the resource |
322 | | - :param mask: (optional) object mask |
323 | | - :param dict filter: (optional) filter dict |
324 | | - :param dict headers: (optional) optional XML-RPC headers |
325 | | - :param boolean compress: (optional) Enable/Disable HTTP compression |
326 | | - :param dict raw_headers: (optional) HTTP transport headers |
327 | | - :param int limit: (optional) return at most this many results |
328 | | - :param int offset: (optional) offset results by this many |
329 | | - :param boolean iter: (optional) if True, returns a generator with the |
330 | | - results |
331 | | - :param bool verify: verify SSL cert |
332 | | - :param cert: client certificate path |
| 330 | + :param \\*args: same optional arguments that ``BaseClient.call`` takes |
| 331 | + :param \\*\\*kwargs: same optional keyword arguments that |
| 332 | + ``BaseClient.call`` takes |
| 333 | +
|
| 334 | + :param service: the name of the SoftLayer API service |
333 | 335 |
|
334 | 336 | Usage: |
335 | 337 | >>> import SoftLayer |
|
0 commit comments