public function update($status) {
        $data = Values::of(array('Status' => $status, ));

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

        return new RoomInstance($this->version, $payload, $this->solution['sid']);
    }
public function update($status) {
        $data = Values::of(array('Status' => $status, ));

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

        return new RoomInstance($this->version, $payload, $this->solution['sid']);
    }
public function update ( $ status ) { $ data = Values :: of ( array ( 'Status' => $ status , ) ) ; $ payload = $ this -> version -> update ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new RoomInstance ( $ this -> version , $ payload , $ this -> solution [ 'sid' ] ) ; }
Update the RoomInstance

@param string $status Set to completed to end the Room.
@return RoomInstance Updated RoomInstance
@throws TwilioException When an HTTP error occurs.
Update the RoomInstance