Skip to content

The items returned by list_enrollments_sections no include the user_profile #26

@eriko

Description

@eriko
 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions