instructure / pandarus

A Ruby library for the Canvas API (and code generator for other languages, eventually)
34 stars 25 forks source link

list_active_courses_in_account can't include teachers #17

Closed austinmbrown closed 6 years ago

austinmbrown commented 8 years ago

As per the current docs, list_active_courses_in_account has an optional query parameter to include teachers in the response. The docs included in the bundled gem aren't up to date and don't have this feature.

I tried pulling the gem down, updating the docs and building it myself locally, but I get a build failure. This looks like the most relevant output:

missing models: Set(,  QuizReport , GroupMembership | Progress, Grading Standard)
----------

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
failed on List, ModelProperty(Array,Array,0,false,Some(The possible answers for this question when those possible answers are necessary.  The presence of this parameter is dependent on permissions.),AnyAllowableValues,None)
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Any idea whats going on?

simonista commented 6 years ago

Fixed in 820155f977c6dbf933e9bff558439e51915459f5