getLead() 공개 메소드

Returns single Lead.
또한 보기: https://developers.intercom.io/reference#view-a-lead
public getLead ( string $id, array $options = [] ) : mixed
$id string
$options array
리턴 mixed
예제 #1
0
 public function testLeadsGet()
 {
     $stub = $this->getMockBuilder('Intercom\\IntercomClient')->disableOriginalConstructor()->getMock();
     $stub->method('get')->willReturn('foo');
     $leads = new IntercomLeads($stub);
     $this->assertEquals('foo', $leads->getLead("bar"));
 }