module SamlIdp::Attributeable
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/saml_idp/attributeable.rb, line 5 def initialize(attributes = {}) self.attributes = attributes end
Public Instance Methods
attributes()
click to toggle source
# File lib/saml_idp/attributeable.rb, line 9 def attributes @attributes ||= {}.with_indifferent_access end
attributes=(new_attributes)
click to toggle source
# File lib/saml_idp/attributeable.rb, line 13 def attributes=(new_attributes) @attributes = (new_attributes || {}).with_indifferent_access end