public function create($key, $value) {
        $data = Values::of(array('Key' => $key, 'Value' => $value, ));

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

        return new VariableInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['environmentSid']
        );
    }
public function create($key, $value) {
        $data = Values::of(array('Key' => $key, 'Value' => $value, ));

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

        return new VariableInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['environmentSid']
        );
    }
public function create ( $ key , $ value ) { $ data = Values :: of ( array ( 'Key' => $ key , 'Value' => $ value , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new VariableInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'environmentSid' ] ) ; }
Create a new VariableInstance

@param string $key A string by which this Variable can be referenced.
@param string $value A string that contains the actual value of this
Variable.
@return VariableInstance Newly created VariableInstance
@throws TwilioException When an HTTP error occurs.
Create a new VariableInstance