Module: SIF::Model::Group::SIS::SISRepresenter
- Included in:
- SchoolCourseInfo, SchoolInfo, SectionInfo, StaffPersonal, StudentPersonal, StudentSectionEnrollment, TermInfo
- Defined in:
- lib/sif/models/groups/sis/sis_representer.rb
Instance Method Summary collapse
Instance Method Details
#find_element(name) ⇒ Object
12 13 14 15 16 |
# File 'lib/sif/models/groups/sis/sis_representer.rb', line 12 def find_element(name) return nil if extended_elements.nil? el = extended_elements.find{ |e| e.name == name } el ? el.value : nil end |
#password ⇒ Object
22 23 24 |
# File 'lib/sif/models/groups/sis/sis_representer.rb', line 22 def password find_element("PASSWORD") end |
#username ⇒ Object
18 19 20 |
# File 'lib/sif/models/groups/sis/sis_representer.rb', line 18 def username find_element("USERNAME") end |