class LUSI::API::Enrolment::EnrolmentRole
Attributes
vle_role_description[RW]
@!attribute [rw] vle_role_description
@return [String, nil] the VLE role description a member has against this enrolment
Public Class Methods
new(xml = nil, lookup = nil, vle_role_description: nil, **kwargs)
click to toggle source
Initialises a new EnrolmentRole
instance @param (see LUSI::API::Core::Code#initialize) @param vle_role_description
[String, nil] the default VLE
role description @return [void]
Calls superclass method
LUSI::API::Core::BasicCode::new
# File lib/lusi_api/enrolment.rb, line 21 def initialize(xml = nil, lookup = nil, vle_role_description: nil, **kwargs) super(xml, lookup, **kwargs) @vle_role_description = LUSI::API::Core::XML.xml_content_at(xml, 'xmlns:VLERoleDescription', vle_role_description) end