update() public method

Update an existing form.
See also: http://developers.hubspot.com/docs/methods/forms/v2/update_form
public update ( string $form_guid, array $form ) : Response
$form_guid string
$form array
return SevenShores\Hubspot\Http\Response
Beispiel #1
0
 /** @test */
 public function update()
 {
     $form = $this->createForm();
     $response = $this->forms->update($form->guid, ['name' => 'new name ' . uniqid()]);
     $this->assertEquals(200, $response->getStatusCode());
 }