Skip to content

Commit

Permalink
Add additional method to retrieve the Contact Model (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
iugo-robert authored and mfairch committed Jun 8, 2018
1 parent f3cdade commit a912565
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Infusionsoft/Api/Rest/ContactService.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,12 @@ public function removeTags($tagIds)

}

public function model()
{
$data = $this->client->restfulRequest('get', $this->getFullUrl('model'));
$this->fill($data);

return $this;
}

}

0 comments on commit a912565

Please sign in to comment.