Skip to content

Commit 77b4509

Browse files
missing update method
1 parent f2c8cf3 commit 77b4509

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/IntercomCompanies.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ public function create($options)
2828
return $this->client->post("companies", $options);
2929
}
3030

31+
/**
32+
* Updates a Company.
33+
* @see https://developers.intercom.io/reference#create-or-update-company
34+
* @param array $options
35+
* @return mixed
36+
* @throws \GuzzleHttp\Exception\GuzzleException
37+
*/
38+
public function update($options) {
39+
return $this->create($options);
40+
}
41+
3142
/**
3243
* Returns list of Companies.
3344
* @see https://developers.intercom.io/reference#list-companies

0 commit comments

Comments
 (0)