Class: Uaeds::MockDSMLPerson
- Inherits:
-
DSMLPerson
- Object
- DSML
- DSMLPerson
- Uaeds::MockDSMLPerson
- Defined in:
- lib/uaeds/mock_eds.rb
Instance Method Summary collapse
- #get_xml_attr(attr) ⇒ Object
-
#initialize(data = {}) ⇒ MockDSMLPerson
constructor
A new instance of MockDSMLPerson.
Methods inherited from DSMLPerson
#cat_card, #cn, #date_of_birth, #department, #department_name, #dob, #edu_person_primary_affiliation, #email, #emplid, #employee_id, #employee_primary_dept, #employee_primary_dept_name, #employee_title, #first_name, #full_name, #given_name, #iso_number, #mail, #name, #netid, #person_type, #surname, #title, #uaid, #uid
Methods inherited from DSML
#get_value, #get_values, #lookup_value
Constructor Details
#initialize(data = {}) ⇒ MockDSMLPerson
Returns a new instance of MockDSMLPerson.
44 45 46 47 |
# File 'lib/uaeds/mock_eds.rb', line 44 def initialize(data = {}) @xml = data @value_h = {} end |
Instance Method Details
#get_xml_attr(attr) ⇒ Object
49 50 51 |
# File 'lib/uaeds/mock_eds.rb', line 49 def get_xml_attr(attr) @xml[attr] end |