Skip to content

Instantly share code, notes, and snippets.

@canadaduane
Created November 12, 2014 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canadaduane/8c5e26fd4212b42e5443 to your computer and use it in GitHub Desktop.
Save canadaduane/8c5e26fd4212b42e5443 to your computer and use it in GitHub Desktop.
Test array as argument value in pandarus
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