1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
abstract class Services_Twilio_NextGenInstanceResource extends Services_Twilio_InstanceResource {
/** * Make a request to the API to update an instance resource * * :param mixed $params: An array of updates, or a property name * :param mixed $value: A value with which to update the resource * * :rtype: null * :throws: a :php:class:`RestException <Services_Twilio_RestException>` if * the update fails. */ public function update($params, $value = null) { if (!is_array($params)) { $params = array($params => $value); } $decamelizedParams = $this->client->createData($this->uri, $params, true); $this->updateAttributes($decamelizedParams); } }
|