Class: Uaeds::MockDSMLPerson

Inherits:
DSMLPerson show all
Defined in:
lib/uaeds/mock_eds.rb

Instance Method Summary collapse

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