users() public method

Creates Users in bulk.
See also: https://developers.intercom.io/reference#bulk-user-operations
public users ( array $options ) : mixed
$options array
return mixed
Ejemplo n.º 1
0
 public function testBulkUsers()
 {
     $stub = $this->getMockBuilder('Intercom\\IntercomClient')->disableOriginalConstructor()->getMock();
     $stub->method('post')->will($this->returnArgument(0));
     $bulk = new IntercomBulk($stub);
     $this->assertEquals('bulk/users', $bulk->users([]));
 }