class LUSI::API::Course::SchemeOfStudyEnrolment
Attributes
course_identity[RW]
@!attribute [rw] scheme_identity
@return [LUSI::API::Course::EnrolmentIdentity] the enrolment's scheme of study identity
scheme_identity[RW]
@!attribute [rw] scheme_identity
@return [LUSI::API::Course::EnrolmentIdentity] the enrolment's scheme of study identity
Public Class Methods
lookup_index()
click to toggle source
@see (LUSI::API::Course::CourseEnrolment#lookup_index)
# File lib/lusi_api/course.rb, line 889 def self.lookup_index raise NotImplementedError end
lusi_ws_method()
click to toggle source
@see (LUSI::API::Core::Endpoint#lusi_ws_method
)
# File lib/lusi_api/course.rb, line 894 def self.lusi_ws_method 'BulkGetSchemeOfStudyEnrolments' end
lusi_ws_xml_root()
click to toggle source
@see (LUSI::API::Core::Endpoint#lusi_ws_xml_root
)
# File lib/lusi_api/course.rb, line 899 def self.lusi_ws_xml_root 'BulkSchemeOfStudyEnrolment' end
new(xml = nil, lookup = nil, scheme_identity: nil, **kwargs)
click to toggle source
@see (LUSI::API::Enrolment::EnrolmentBase#initialize) @param scheme_identity
[LUSI::API::Course::EnrolmentIdentity] the enrolment's scheme of study identity
Calls superclass method
LUSI::API::Enrolment::EnrolmentBase::new
# File lib/lusi_api/course.rb, line 905 def initialize(xml = nil, lookup = nil, scheme_identity: nil, **kwargs) super(xml, lookup, **kwargs) @scheme_identity = EnrolmentIdentity.new(LUSI::API::Core::XML.xml_at(xml, 'xmlns:SchemeIdentity', scheme_identity), lookup) end