Created
November 12, 2014 18:15
-
-
Save canadaduane/8c5e26fd4212b42e5443 to your computer and use it in GitHub Desktop.
Test array as argument value in pandarus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pandarus' | |
$p = { | |
token: "YOUR_TOKEN", | |
prefix: "http://localhost:3000/api" | |
} | |
$c = Pandarus::Client.new($p) | |
# $c.retrieve_assignment_overridden_dates_for_quizzes(1) | |
result = $c.list_submissions_for_multiple_assignments_sections(1, {assignment_ids: [1, 2, 3, 4, 5, 6, 7, 8], student_ids: "all", include: ["assignment"]}) | |
puts JSON.pretty_generate(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment