Skip to content

Commit

Permalink
Add delete method for layouts (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceromag authored and XaosSintez committed Jan 5, 2017
1 parent 9d750d8 commit 8c9bbe3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Services/LayoutService.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,12 @@ public function update($layoutId, $data)
{
return $this->client()->put($data, 'layouts/{layoutId}', ['layoutId' => $layoutId]);
}

/**
* @param string $layoutId
*/
public function delete($layoutId)
{
$this->client()->delete('layouts/{layoutId}', ['layoutId' => $layoutId]);
}
}

0 comments on commit 8c9bbe3

Please sign in to comment.