public function update($enabled) {
        $data = Values::of(array('Enabled' => Serialize::booleanToString($enabled), ));

        $payload = $this->version->update(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new InstalledAddOnExtensionInstance(
            $this->version,
            $payload,
            $this->solution['installedAddOnSid'],
            $this->solution['sid']
        );
    }
public function update($enabled) {
        $data = Values::of(array('Enabled' => Serialize::booleanToString($enabled), ));

        $payload = $this->version->update(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new InstalledAddOnExtensionInstance(
            $this->version,
            $payload,
            $this->solution['installedAddOnSid'],
            $this->solution['sid']
        );
    }
public function update ( $ enabled ) { $ data = Values :: of ( array ( 'Enabled' => Serialize :: booleanToString ( $ enabled ) , ) ) ; $ payload = $ this -> version -> update ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new InstalledAddOnExtensionInstance ( $ this -> version , $ payload , $ this -> solution [ 'installedAddOnSid' ] , $ this -> solution [ 'sid' ] ) ; }
Update the InstalledAddOnExtensionInstance

@param boolean $enabled A Boolean indicating if the Extension will be invoked
@return InstalledAddOnExtensionInstance Updated
InstalledAddOnExtensionInstance
@throws TwilioException When an HTTP error occurs.
Update the InstalledAddOnExtensionInstance