Skip to content

Commit

Permalink
Merge pull request #3 from upwebdesign/patch-1
Browse files Browse the repository at this point in the history
Add getAttendeeQuestions method per GTW API
  • Loading branch information
slakbal authored Jan 31, 2019
2 parents 23b13d9 + a568025 commit a4058b9
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/Traits/AttendeeOperations.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,20 @@ public function getAttendeePollAnswers($webinarKey, $sessionKey, $registrantKey)

return $this->sendRequest('GET', $path, $parameters = null, $payload = null);
}
}

/**
* [getAttendeeQuestions description]
*
* @param [type] $webinarKey [description]
* @param [type] $sessionKey [description]
* @param [type] $registrantKey [description]
*
* @return [type] [description]
*/
public function getAttendeeQuestions($webinarKey, $sessionKey, $registrantKey)
{
$path = $this->getPathRelativeToOrganizer(sprintf('webinars/%s/sessions/%s/attendees/%s/questions', $webinarKey, $sessionKey, $registrantKey));

return $this->sendRequest('GET', $path, $parameters = null, $payload = null);
}
}

0 comments on commit a4058b9

Please sign in to comment.