Skip to content

Commit

Permalink
Added email messages to deal. Fixes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
IsraelOrtuno committed May 23, 2016
1 parent e37b3a9 commit eac58ab
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Resources/Deals.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,15 @@ public function duplicate($id)
{
return $this->request->get(':id/duplicate', compact('id'));
}

/**
* Get the email messages for a deal.
*
* @param $id The deal id
* @return mixed
*/
public function emailMessages($id)
{
return $this->request->get(':id/emailMessages', compact('id'));
}
}

0 comments on commit eac58ab

Please sign in to comment.