Method: SAML2::IndexedObject#from_xml

Defined in:
lib/saml2/indexed_object.rb

#from_xml(node) ⇒ Object



17
18
19
20
21
# File 'lib/saml2/indexed_object.rb', line 17

def from_xml(node)
  @index = node['index'] && node['index'].to_i
  @is_default = node['isDefault'] && node['isDefault'] == 'true'
  super
end