Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The items returned by list_enrollments_sections no include the user_profile #26

Open
eriko opened this issue Jan 9, 2018 · 0 comments

Comments

@eriko
Copy link
Contributor

eriko commented Jan 9, 2018

 c_section_enrollment = @client.list_enrollments_sections(c_section.id, {type: 'StudentEnrollment', state: 'active'})
                    c_section_enrollment.each do |c_enrollment|
c_enrollement.user 

That last line is no longer valid call.
Instead you have to call c_user = @client.get_user_profile(c_enrollment.user_id) to get access to the user. This is a change from 0.6.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant