I've run into another problem. It seems that sometime in the last couple weeks Poll Everywhere changed things and now when you create and MCP through the API (using the gem), the poll has a note on it saying that you have to start the poll. It didn't used to be this way and I didn't change any code.
I've managed to work around it by adding :state=>'opened' to the from_hash and then adding @mcp.start right after the creation command
However, there's another problem.
We need to be able to create a series of polls in advance of our event and be able to activate/start them on-the-fly using our interface (and not have to use the timers in the PE widget etc). I tried to do the following (just like in the test scripts) after calling the config parameters:
@mcp = PollEverywhere::MultipleChoicePoll.get(
:permalink => "abcdefgh"
)
@mcp.start
Obviously the abcdefgh is an example where in reality it's an actual permalink.
But I'm getting errors in the code. I have a feeling that I'm not querying to create the mcp object properly.
Can someone help me?
Thanks