Closed rolyatwilson closed 7 years ago
Looks like Pandarus expects the response["all_dates"]
to match the QuizAssignmentOverride
model but the Canvas API returns an array containing the model.
"all_dates": [ { "due_at": null, "unlock_at": null, "lock_at": null, "base": true } ],
The v1_api.rb method create_quiz raises a
NoMethodError: Expected [{"due_at"=>"2016-09-14T17:39:48Z", "unlock_at"=>nil, "lock_at"=>nil, "base"=>true}] to respond to #to_hash