class SamlIdp::AttributeDecorator
Public Class Methods
new(*)
click to toggle source
Calls superclass method
# File lib/saml_idp/attribute_decorator.rb, line 6 def initialize(*) super __setobj__((source || {}).with_indifferent_access) end
Public Instance Methods
friendly_name()
click to toggle source
# File lib/saml_idp/attribute_decorator.rb, line 15 def friendly_name source[:friendly_name] end
name()
click to toggle source
# File lib/saml_idp/attribute_decorator.rb, line 11 def name source[:name] end
name_format()
click to toggle source
# File lib/saml_idp/attribute_decorator.rb, line 19 def name_format source[:name_format] || Saml::XML::Namespaces::Formats::Attr::URI end
values()
click to toggle source
# File lib/saml_idp/attribute_decorator.rb, line 23 def values Array(source[:values]) end