public function create($buildSid) {
        $data = Values::of(array('BuildSid' => $buildSid, ));

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

        return new DeploymentInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['environmentSid']
        );
    }
public function create($buildSid) {
        $data = Values::of(array('BuildSid' => $buildSid, ));

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

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

@param string $buildSid Build Sid.
@return DeploymentInstance Newly created DeploymentInstance
@throws TwilioException When an HTTP error occurs.
Create a new DeploymentInstance