Module: SamlIdp::Attributeable
- Extended by:
- ActiveSupport::Concern
- Included in:
- PersistedMetadata, ServiceProvider
- Defined in:
- lib/saml_idp/attributeable.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
9 10 11 |
# File 'lib/saml_idp/attributeable.rb', line 9 def attributes @attributes ||= {}.with_indifferent_access end |
#attributes=(new_attributes) ⇒ Object
13 14 15 |
# File 'lib/saml_idp/attributeable.rb', line 13 def attributes=(new_attributes) @attributes = (new_attributes || {}).with_indifferent_access end |
#initialize(attributes = {}) ⇒ Object
5 6 7 |
# File 'lib/saml_idp/attributeable.rb', line 5 def initialize(attributes = {}) self.attributes = attributes end |