Method: SAML2::IndexedObject#build

Defined in:
lib/saml2/indexed_object.rb

#build(builder) ⇒ Object



57
58
59
60
61
# File 'lib/saml2/indexed_object.rb', line 57

def build(builder, *)
  super
  builder.parent.children.last['index'] = index
  builder.parent.children.last['isDefault'] = default? if default_defined?
end