PHP Class Intercom\IntercomUsers

Exibir arquivo Open project: intercom/intercom-php Class Usage Examples

Public Methods

Method Description
__construct ( IntercomClient $client ) IntercomUsers constructor.
create ( array $options ) : mixed Creates a User.
deleteUser ( $id, $options = [] )
getUser ( $id, $options = [] )
getUsers ( array $options ) : mixed Lists Users.
userPath ( $id )

Method Details

__construct() public method

IntercomUsers constructor.
public __construct ( IntercomClient $client )
$client IntercomClient

create() public method

Creates a User.
See also: https://developers.intercom.io/reference#create-or-update-user
public create ( array $options ) : mixed
$options array
return mixed

deleteUser() public method

public deleteUser ( $id, $options = [] )

getUser() public method

public getUser ( $id, $options = [] )

getUsers() public method

Lists Users.
See also: https://developers.intercom.io/reference#list-users
public getUsers ( array $options ) : mixed
$options array
return mixed

userPath() public method

public userPath ( $id )